summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-07-03Add missing pgaccess copyright file, same as ours.Bruce Momjian
2002-07-03Fix some more boundary-case errors in psql variable substitution:Tom Lane
wasn't really right for case where :var is at the end of the line, was definitely not right if var expanded to empty in that case, and failed to recalculate thislen before jumping back to rescan.
2002-07-02Allow make_ctags to work with exuberant tags.Bruce Momjian
2002-07-02Indent libpq++ as mentioned in email. Format was terrible, and thisBruce Momjian
will make fixing things easier.
2002-07-02>the extra level of struct naming for pd_opaque has no obviousBruce Momjian
>usefulness. > >> [...] should I post a patch that puts pagesize directly into >> PageHeaderData? > >If you're so inclined. Given that pd_opaque is hidden in those macros, >there wouldn't be much of any gain in readability either, so I haven't >worried about changing the declaration. Thanks for the clarification. Here is the patch. Not much gain, but at least it saves the next junior hacker from scratching his head ... Manfred Koizar
2002-07-02Update to pgaccess 0.91.Bruce Momjian
2002-07-02The attached patch fixes 2 memory leaks in pg_dump, as well as correctsBruce Momjian
a spelling mistake and deletes an antiquated comment. Neil Conway
2002-07-02The attached patch fixes a minor memory leak in psql.Bruce Momjian
Neil Conway
2002-07-02There already was a macro PageGetItemId; this is now used in (almost)Bruce Momjian
all places, where pd_linp is accessed. Also introduce new macros SizeOfPageHeaderData and BTMaxItemSize. This is just source code cosmetic, no behaviour changed. Manfred Koizar
2002-07-02Minor code cleanup in bufmgr.c and bufmgr.h, mainly by moving repeatedBruce Momjian
lines of code into internal routines (drop_relfilenode_buffers, release_buffer) and by hiding unused routines (PrintBufferDescs, PrintPinnedBufs) behind #ifdef NOT_USED. Remove AbortBufferIO() declaration from bufmgr.c (already declared in bufmgr.h) Manfred Koizar
2002-07-02This patch, which is built upon the "HeapTupleHeader accessor macros"Bruce Momjian
patch from 2002-06-10, is supposed to reduce the heap tuple header size by four bytes on most architectures. Of course it changes the on-disk tuple format and therefore requires initdb. This overlays cmin/cmax/xmax fields into only two fields. Manfred Koizar
2002-07-02Back out regress/results changes. Real CVS problem worked-around.Bruce Momjian
2002-07-02Fix removal of results directory on 'make clean'. Just remove *.outBruce Momjian
files. Was causing CVS problems.
2002-07-01First phase of applying Rod Taylor's pg_depend patch. This just addsTom Lane
RESTRICT/CASCADE syntax to the DROP commands that need it, and propagates the behavioral option through the parser to the routines that execute drops. Doesn't do anything useful yet, but I figured I'd commit these changes so I could get out of the parser area while working on the rest.
2002-07-01Commit old versions into main branch again.Michael Meskes
Michael
2002-06-30Committing parser changes. Note, however, that the development bison seems ↵Michael Meskes
ot have a problem on my home machine. So these go in untested for the time being. But at least I have them in the archive. Michael
2002-06-281) prevent setting of KSQO on 7.3+ servers(Thanks to Dave Page).Hiroshi Inoue
2) Allow LF->CR/LF conversion under UNICODE driver.
2002-06-27fixed build.xml to echo correct jdbc version under ant1.6Barry Lind
2002-06-27general cleanup of jdbc codeBarry Lind
2002-06-26Restore error message I accidentally changed.Bruce Momjian
2002-06-26The attached patch fixes some spelling mistakes, makes theBruce Momjian
comments on one of the optimizer functions a lot more clear, adds a summary of the recent KSQO discussion to the comments in the code, adds regression tests for the bug with sequence state Tom fixed recently and another reg. test, and removes some PostQuel legacy stuff: ExecAppend -> ExecInsert, ExecRetrieve -> ExecSelect, etc. Error messages remain unchanged until a vote. Neil Conway
2002-06-26Treat \r as white space when parsing pg_hba and related files.Tom Lane
Should make life easier for DBAs who insist on editing files with Windoze tools.
2002-06-26translation patch submitted by Zhenbang Wei forth@mail.net.twBarry Lind
2002-06-26patch submitted by Jason Davies jason@netspade.com to provide proper java ↵Barry Lind
class name for a byte[]
2002-06-25Back out cleanup patch. Got old version and needs work.Bruce Momjian
Neil Conway
2002-06-25The attached patch fixes some spelling mistakes, makes theBruce Momjian
comments on one of the optimizer functions a lot more clear, adds a summary of the recent KSQO discussion to the comments in the code, adds regression tests for the bug with sequence state Tom fixed recently and another reg. test, and removes some PostQuel legacy stuff: ExecAppend -> ExecInsert, ExecRetrieve -> ExecSelect, etc. This was changed because the elog() messages from this routine are user-visible, so we should be using the SQL terms. Neil Conway
2002-06-25Here is a patch for a memory leak in rtree.c, version 7.2.1 (in codeBruce Momjian
that I submitted last year, alas). Kenneth Been
2002-06-25fixed retrieval of foreign/primary keys in imported/exported keysDave Cramer
2002-06-251) Add support for GB18030.Hiroshi Inoue
2) Fix a bug about the handling of large objects.
2002-06-24plpgsql's PERFORM statement now sets FOUND depending on whether anyTom Lane
rows were returned by the performed query. Per recent pgsql-general discussion.
2002-06-24patch to add support for callable statements to the jdbc driver. The patch ↵Barry Lind
was submitted by Paul Bethe pmbethe@yahoo.com
2002-06-24patch to update zh_TW message file for jdbc submitted by Zhenband Wei ↵Barry Lind
(forth@mail.net.tw)
2002-06-24patch submitted by Jason Davies jason@netspade.com to improve ↵Barry Lind
ResultSetMetaData.getColumnClassName() support
2002-06-24fixed bug reported by Wolfgang Winter w.winter@logitags.com where historic ↵Barry Lind
timestamps which do not have timezone info were being interpreted in local timezone instead of GMT. Also added a check to support timestamp vs. timestamptz in this code
2002-06-23It seems that ExecInit/EndIndexScan is leaking some memory...Bruce Momjian
For example, if I run a query, that uses an index scan, and call MemoryContextSt ats (CurrentMemoryContext) before ExecutorStart() and after ExecutorEnd() in ProcessQuery(), I am consistently see ing that the 'after' call shows 256 bytes more used, then 'before'... The problem seems to be in ExecEndIndexScan - it does not release scanstate, ind exstate, indexstate->iss_RelationDescs and indexstate -> iss_ScanDescs... Dmitry Tkach
2002-06-23Remove unused INET6 variable.Bruce Momjian
2002-06-23Remove INET6 from SSL. We don't support INET6 yet.Bruce Momjian
2002-06-22uint -> uint32, portability.Bruce Momjian
2002-06-22Implement SQL99 CREATE CAST and DROP CAST statements.Thomas G. Lockhart
Also implement alternative forms to expose the PostgreSQL CREATE FUNCTION features. Implement syntax for READ ONLY and READ WRITE clauses in SET TRANSACTION. READ WRITE is already implemented (of course). Implement syntax for "LIKE table" clause in CREATE TABLE. Should be fairly easy to complete since it resembles SELECT INTO. Implement MATCH SIMPLE clause for foreign key definitions. This is explicit SQL99 syntax for the default behavior, so we now support it :) Start implementation of shorthand for national character literals in scanner. For now, just swallow the leading "N", but sometime soon let's figure out how to pass leading type info from the scanner to the parser. We should use the same technique for binary and hex bit string literals, though it might be unusual to have two apparently independent literal types fold into the same storage type.
2002-06-21Remove Jan's copyright, with his approval.Bruce Momjian
2002-06-20Clean up some copyrights.Bruce Momjian
2002-06-20Add another missing SRF file.Bruce Momjian
2002-06-20Add missing SRF file.Bruce Momjian
2002-06-20Add missing regression files for SRF.Bruce Momjian
2002-06-20Update copyright to 2002.Bruce Momjian
2002-06-20Here is a patch for Composite and Set returning function support. I madeBruce Momjian
two small changes to the API since last patch, which hopefully completes the decoupling of composite function support from SRF specific support. Joe Conway
2002-06-20Attached is a regression test patch for SRFs. I based it on the testBruce Momjian
scripts that I have been using, minus the C function tests and without calls to random() -- figured random() wouldn't work too well for a regression test ;-) Joe Conway
2002-06-20Improve COPY syntax to use WITH clause, keep backward compatibility.Bruce Momjian
2002-06-19Properly mark rules that return no value.Bruce Momjian
2002-06-19CacheMemoryContext should be DLLIMPORT.Tom Lane