1. 07 Oct, 1999 2 commits
    • Tom Lane's avatar
      79cb5f76
    • Tom Lane's avatar
      Fix planner and rewriter to follow SQL semantics for tables that are · 3eb1c822
      Tom Lane authored
      mentioned in FROM but not elsewhere in the query: such tables should be
      joined over anyway.  Aside from being more standards-compliant, this allows
      removal of some very ugly hacks for COUNT(*) processing.  Also, allow
      HAVING clause without aggregate functions, since SQL does.  Clean up
      CREATE RULE statement-list syntax the same way Bruce just fixed the
      main stmtmulti production.
      CAUTION: addition of a field to RangeTblEntry nodes breaks stored rules;
      you will have to initdb if you have any rules.
      3eb1c822
  2. 06 Oct, 1999 8 commits
  3. 05 Oct, 1999 4 commits
  4. 04 Oct, 1999 8 commits
  5. 03 Oct, 1999 5 commits
    • 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
    • Bruce Momjian's avatar
      autoconf · f29ccc82
      Bruce Momjian authored
      f29ccc82
    • Bruce Momjian's avatar
      I hope this is what you had in mind: · c70c4e36
      Bruce Momjian authored
      --enable-debug adds -g (unconditionally)
      --disable-debug removes -g (if it was already in there somehow)
      (giving neither does nothing)
      
      Since none of the templates default CFLAGS with a -g you're not likely
      to
      end up with two -g flags. Not that they'd hurt though.
      
      It doesn't do anything about C++.
      
      Peter Eisentraut
      c70c4e36
    • Bruce Momjian's avatar
      Update TODO list. · 48049b4c
      Bruce Momjian authored
      48049b4c
    • Bruce Momjian's avatar
      Update TODO list. · b65f3b08
      Bruce Momjian authored
      b65f3b08
  6. 02 Oct, 1999 7 commits
  7. 01 Oct, 1999 6 commits