1. 10 May, 2004 1 commit
    • Tom Lane's avatar
      Promote row expressions to full-fledged citizens of the expression syntax, · 2f63232d
      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.
      2f63232d
  2. 14 Mar, 2004 1 commit
  3. 29 Sep, 2003 1 commit
  4. 25 Sep, 2003 1 commit
  5. 21 Jul, 2003 2 commits
  6. 19 Jul, 2003 1 commit
  7. 29 May, 2003 1 commit
  8. 24 Apr, 2003 1 commit
    • Tom Lane's avatar
      Infrastructure for upgraded error reporting mechanism. elog.c is · f690920a
      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?
      f690920a
  9. 18 Aug, 2002 1 commit
  10. 04 Aug, 2002 1 commit
    • Bruce Momjian's avatar
      Change messages like this: · 7312c19a
      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
      7312c19a
  11. 12 Jul, 2002 1 commit
    • Tom Lane's avatar
      Second phase of committing Rod Taylor's pg_depend/pg_constraint patch. · 7c6df91d
      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.
      7c6df91d
  12. 11 Jul, 2002 1 commit
  13. 25 Jun, 2002 2 commits
    • Bruce Momjian's avatar
      Back out cleanup patch. Got old version and needs work. · e2c00704
      Bruce Momjian authored
      Neil Conway
      e2c00704
    • Bruce Momjian's avatar
      The attached patch fixes some spelling mistakes, makes the · ed275aea
      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
      ed275aea
  14. 30 Mar, 2002 1 commit
  15. 07 Mar, 2002 1 commit
  16. 03 Mar, 2002 1 commit
  17. 04 Nov, 2001 1 commit
  18. 31 Oct, 2001 2 commits
  19. 22 Feb, 2001 1 commit
  20. 27 Oct, 2000 1 commit
  21. 15 Feb, 2000 1 commit
  22. 19 Jan, 2000 1 commit
    • Tom Lane's avatar
      Fix handling of NULL constraint conditions: per SQL92 spec, a NULL result · 6d1efd76
      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.
      6d1efd76
  23. 16 Jan, 2000 1 commit
  24. 15 Jan, 2000 1 commit
  25. 05 Jan, 2000 1 commit
  26. 27 Nov, 1999 1 commit
  27. 20 Nov, 1999 1 commit
  28. 03 Oct, 1999 1 commit
    • Tom Lane's avatar
      Reimplement parsing and storage of default expressions and constraint · eabc714a
      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.
      eabc714a
  29. 12 May, 1999 1 commit
  30. 02 Feb, 1999 1 commit
  31. 06 Jan, 1998 1 commit
  32. 09 Dec, 1997 1 commit
  33. 05 Dec, 1997 1 commit
  34. 17 Oct, 1997 1 commit
  35. 16 Sep, 1997 1 commit
  36. 28 Aug, 1997 1 commit