summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2002-07-15Improve relcache.c error reporting for the next guy who has to debugBruce Momjian
this thing.
2002-07-15Fix \? and \pset pager handling. \? wasn't honoring pager before.Bruce Momjian
2002-07-14Add COMMENT ON CONSTRAINT facility (from Rod Taylor's pg_constraint patch).Tom Lane
Fix comment.c to not depend on parser token values, per discussion awhile back.
2002-07-14In DeleteAttributeTuples, use a single indexscan instead of the multipleTom Lane
scans that will most likely be caused by SearchSysCache probes. Also, share some code between index deletion and table deletion.
2002-07-13Fix testing of partial-index predicates to work correctly in cases whereTom Lane
varno of index's relation is not 1. This embarrassing oversight pointed out by Dmitry Tkach 12-Jul-02.
2002-07-13Add SET statement_timeout capability. Timeout is in ms. A value ofBruce Momjian
zero turns off the timer.
2002-07-12Second phase of committing Rod Taylor's pg_depend/pg_constraint patch.Tom Lane
pg_relcheck is gone; CHECK, UNIQUE, PRIMARY KEY, and FOREIGN KEY constraints all have real live entries in pg_constraint. pg_depend exists, and RESTRICT/CASCADE options work on most kinds of DROP; however, pg_depend is not yet very well populated with dependencies. (Most of the ones that are present at this point just replace formerly hardwired associations, such as the implicit drop of a relation's pg_type entry when the relation is dropped.) Need to add more logic to create dependency entries, improve pg_dump to dump constraints in place of indexes and triggers, and add some regression tests.
2002-07-12Changed getCrossReference to return information about each composite key ↵Dave Cramer
seperately It used to return them as a,b in one row, and now returns a in one row, and b in one row
2002-07-12An improvement of User Interface(Setup dialog) by Dave Page.Hiroshi Inoue
2002-07-121) Fix a memory leak in use declare/fetch mode.Hiroshi Inoue
2) Change default build mode to multibyte(Windows).
2002-07-11Change error messages ExecAppend->ExecInsert and ExecReplace->ExecUpdateBruce Momjian
as discussed on hackers.
2002-07-11Add new CREATE CONVERSION/DROP CONVERSION command.Tatsuo Ishii
This is the first cut toward CREATE CONVERSION/DROP CONVERSION implementaion. The commands can now add/remove tuples to the new pg_conversion system catalog, but that's all. Still need work to make them actually working. Documentations, regression tests also need work.
2002-07-11Fix getopt flags. Man thing thing was messed up.Bruce Momjian
2002-07-11Fix another --help typo in pg_restore.Bruce Momjian
2002-07-11Make NAMEDATALEN changeable at compile time.Hiroshi Inoue
2002-07-10fix bug in getTime() with fractional seconds reported by Laurette Cisneros ↵Barry Lind
(laurette@nextbus.com)
2002-07-09Oops, proper initialization for domainTypMod was none at all, not 0.Bruce Momjian
2002-07-09Fix compiler warning:Bruce Momjian
int32 domainTypMod = NULL; should be: int32 domainTypMod = 0;
2002-07-08Fix case syntax for freebsd template.Bruce Momjian
2002-07-08Fix typo in xl_heaptid commentBruce Momjian
Manfred Koizar
2002-07-07Move CXX platform-specific stuff into template files.Bruce Momjian
2002-07-07Convert expr to case, for Peter E.Bruce Momjian
2002-07-06I've fixed up the way domain constraints (not null and type length)Bruce Momjian
are managed as per request. Moved from merging with table attributes to applying themselves during coerce_type() and coerce_type_typmod. Regression tests altered to test the cast() scenarios. Rod Taylor
2002-07-06Add comments about sharing.Bruce Momjian
2002-07-06Move simple_prompt() into its own file to be shared with psql and pg_dump.Bruce Momjian
2002-07-05fixed bug reported by Michael, Dietrich (mdt@emdete.de) where a large object ↵Barry Lind
handle was being used after the end of the transaction and thus resulting in an error.
2002-07-05Fix a bug reported by Zhou Han.Hiroshi Inoue
2002-07-04Fix compile error in assert coded added by new DISTINCT ON patch.Bruce Momjian
2002-07-04More clearly document in pg_dump when we are dealing with an object nameBruce Momjian
as it appears in the schema dump, and index tags.
2002-07-04Implement the IS DISTINCT FROM operator per SQL99.Thomas G. Lockhart
Reused the Expr node to hold DISTINCT which strongly resembles the existing OP info. Define DISTINCT_EXPR which strongly resembles the existing OPER_EXPR opType, but with handling for NULLs required by SQL99. We have explicit support for single-element DISTINCT comparisons all the way through to the executor. But, multi-element DISTINCTs are handled by expanding into a comparison tree in gram.y as is done for other row comparisons. Per discussions, it might be desirable to move this into one or more purpose-built nodes to be handled in the backend. Define the optional ROW keyword and token per SQL99. This allows single-element row constructs, which were formerly disallowed due to shift/reduce conflicts with parenthesized a_expr clauses. Define the SQL99 TREAT() function. Currently, use as a synonym for CAST().
2002-07-04Document function args are required for pg_restore -P.Bruce Momjian
Fix pg_dump to not quote the function name in the storage tag. Fix pg_dump so GRANT/REVOKE(ACL) tag entries are not quoted, for consistency. Fix pg_restore to properly handle quotes and some spaces in -P.
2002-07-03Update FreeBSD template to properly compile c++ on alpha.Bruce Momjian
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