- 10 May, 2004 1 commit
-
-
Tom Lane authored
rather than allowing them only in a few special cases as before. In particular you can now pass a ROW() construct to a function that accepts a rowtype parameter. Internal generation of RowExprs fixes a number of corner cases that used to not work very well, such as referencing the whole-row result of a JOIN or subquery. This represents a further step in the work I started a month or so back to make rowtype values into first-class citizens.
-
- 14 Mar, 2004 1 commit
-
-
Tom Lane authored
discussions. Patch by Fabien Coelho and Tom Lane. Still needs to be taught about multi-screen-column kanji characters; Tatsuo has promised to provide the needed infrastructure for that.
-
- 29 Sep, 2003 1 commit
-
-
Tom Lane authored
discussed on pghackers.
-
- 25 Sep, 2003 1 commit
-
-
Peter Eisentraut authored
message editing.
-
- 21 Jul, 2003 2 commits
- 19 Jul, 2003 1 commit
-
-
Tom Lane authored
-
- 29 May, 2003 1 commit
-
-
Tom Lane authored
for grammar-detected problems. Revert Makefile hack that kept it looking like the pre-bison-1.875 output.
-
- 24 Apr, 2003 1 commit
-
-
Tom Lane authored
rewritten and the protocol is changed, but most elog calls are still elog calls. Also, we need to contemplate mechanisms for controlling all this functionality --- eg, how much stuff should appear in the postmaster log? And what API should libpq expose for it?
-
- 18 Aug, 2002 1 commit
-
-
Bruce Momjian authored
-
- 04 Aug, 2002 1 commit
-
-
Bruce Momjian authored
ERROR: ExecInsert: rejected due to CHECK constraint insert_con To be like this: ERROR: ExecInsert: rejected due to CHECK constraint "insert_con" on "insert_tbl" Updated regression tests to match. I got sick of seeing 'rejected due to CHECK constraint "$1" in my log and not being able to find the bug in our website code... Christopher Kings-Lynne
-
- 12 Jul, 2002 1 commit
-
-
Tom Lane authored
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.
-
- 11 Jul, 2002 1 commit
-
-
Bruce Momjian authored
as discussed on hackers.
-
- 25 Jun, 2002 2 commits
-
-
Bruce Momjian authored
Neil Conway
-
Bruce Momjian authored
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
-
- 30 Mar, 2002 1 commit
-
-
Tom Lane authored
sequence functions how to cope with qualified names. Same code is also used for int4notin, currtid_byrelname, pgstattuple. Also, move TOAST tables into special pg_toast namespace.
-
- 07 Mar, 2002 1 commit
-
-
Bruce Momjian authored
-
- 03 Mar, 2002 1 commit
-
-
Tom Lane authored
-
- 04 Nov, 2001 1 commit
-
-
Bruce Momjian authored
same code is called for both creation and alter. Not worth worrying about.
-
- 31 Oct, 2001 2 commits
-
-
Bruce Momjian authored
message spacing.
-
Bruce Momjian authored
Add space between slash for ALTER TABLE / ADD .... Regression and *.po updates to follow.
-
- 22 Feb, 2001 1 commit
-
-
Tom Lane authored
-
- 27 Oct, 2000 1 commit
-
-
Peter Eisentraut authored
-
- 15 Feb, 2000 1 commit
-
-
Tom Lane authored
results of constraints regress test.
-
- 19 Jan, 2000 1 commit
-
-
Tom Lane authored
from a constraint condition does not violate the constraint (cf. discussion on pghackers 12/9/99). Implemented by adding a parameter to ExecQual, specifying whether to return TRUE or FALSE when the qual result is really NULL in three-valued boolean logic. Currently, ExecRelCheck is the only caller that asks for TRUE, but if we find any other places that have the wrong response to NULL, it'll be easy to fix them.
-
- 16 Jan, 2000 1 commit
-
-
Tom Lane authored
-
- 15 Jan, 2000 1 commit
-
-
Tom Lane authored
regress test expected outputs were committed with NOTICEs appearing out of order. Update to correct results.
-
- 05 Jan, 2000 1 commit
-
-
Thomas G. Lockhart authored
Update output to new psql conventions.
-
- 27 Nov, 1999 1 commit
-
-
Tom Lane authored
regress test expected outputs for change in 'Cannot insert a duplicate key' error message wording.
-
- 20 Nov, 1999 1 commit
-
-
Tom Lane authored
to be accepted, but constraints regress test was expecting it to fail.
-
- 03 Oct, 1999 1 commit
-
-
Tom Lane authored
expressions in CREATE TABLE. There is no longer an emasculated expression syntax for these things; it's full a_expr for constraints, and b_expr for defaults (unfortunately the fact that NOT NULL is a part of the column constraint syntax causes a shift/reduce conflict if you try a_expr. Oh well --- at least parenthesized boolean expressions work now). Also, stored expression for a column default is not pre-coerced to the column type; we rely on transformInsertStatement to do that when the default is actually used. This means "f1 datetime default 'now'" behaves the way people usually expect it to. BTW, all the support code is now there to implement ALTER TABLE ADD CONSTRAINT and ALTER TABLE ADD COLUMN with a default value. I didn't actually teach ALTER TABLE to call it, but it wouldn't be much work.
-
- 12 May, 1999 1 commit
-
-
Thomas G. Lockhart authored
quotes.
-
- 02 Feb, 1999 1 commit
-
-
Bruce Momjian authored
-
- 06 Jan, 1998 1 commit
-
-
Bruce Momjian authored
-
- 09 Dec, 1997 1 commit
-
-
Thomas G. Lockhart authored
-
- 05 Dec, 1997 1 commit
-
-
Thomas G. Lockhart authored
Add tests for PRIMARY KEY and UNIQUE clauses.
-
- 17 Oct, 1997 1 commit
-
-
Vadim B. Mikheev authored
-
- 16 Sep, 1997 1 commit
-
-
Thomas G. Lockhart authored
after adding separate sections for DEFAULT and CHECK.
-
- 28 Aug, 1997 1 commit
-
-
Vadim B. Mikheev authored
-