Skip to content
Snippets Groups Projects
  1. Dec 21, 1999
  2. Dec 16, 1999
  3. Dec 13, 1999
  4. Dec 10, 1999
  5. Dec 09, 1999
  6. Dec 06, 1999
  7. Dec 03, 1999
  8. Nov 27, 1999
  9. Nov 23, 1999
  10. Nov 21, 1999
  11. Nov 20, 1999
  12. Nov 19, 1999
  13. Nov 15, 1999
  14. Oct 22, 1999
  15. Oct 07, 1999
    • 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
  16. Oct 04, 1999
    • Tom Lane's avatar
      Less noisy rule display... · 0655b150
      Tom Lane authored
      0655b150
    • 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
  17. Oct 03, 1999
  18. Oct 02, 1999
  19. Sep 30, 1999
  20. Sep 29, 1999
    • Jan Wieck's avatar
      This is part #1 for of the DEFERRED CONSTRAINT TRIGGER support. · 1547ee01
      Jan Wieck authored
      Implements the CREATE CONSTRAINT TRIGGER and SET CONSTRAINTS commands.
      
      TODO:
          Generic builtin trigger procedures
          Automatic execution of appropriate CREATE CONSTRAINT... at CREATE TABLE
          Support of new trigger type in pg_dump
          Swapping of huge # of events to disk
      
      Jan
      1547ee01
  21. Sep 24, 1999
    • Tom Lane's avatar
      Several changes here, not very related but touching some of the same files. · e812458b
      Tom Lane authored
      * Buffer refcount cleanup (per my "progress report" to pghackers, 9/22).
      * Add links to backend PROC structs to sinval's array of per-backend info,
      and use these links for routines that need to check the state of all
      backends (rather than the slow, complicated search of the ShmemIndex
      hashtable that was used before).  Add databaseOID to PROC structs.
      * Use this to implement an interlock that prevents DESTROY DATABASE of
      a database containing running backends.  (It's a little tricky to prevent
      a concurrently-starting backend from getting in there, since the new
      backend is not able to lock anything at the time it tries to look up
      its database in pg_database.  My solution is to recheck that the DB is
      OK at the end of InitPostgres.  It may not be a 100% solution, but it's
      a lot better than no interlock at all...)
      * In ALTER TABLE RENAME, flush buffers for the relation before doing the
      rename of the physical files, to ensure we don't get failures later from
      mdblindwrt().
      * Update TRUNCATE patch so that it actually compiles against current
      sources :-(.
      You should do "make clean all" after pulling these changes.
      e812458b
  22. Sep 18, 1999
  23. Sep 06, 1999
    • Tom Lane's avatar
      Mark bpchareq not hashjoinable, since it strips trailing blanks · d2f7d1f3
      Tom Lane authored
      before comparison; if fields being joined are different widths then hashing
      will yield wrong answer.  Also, remove hashjoinable mark from all uses of
      array_eq, because array structures may have padding bytes between elements
      and the pad bytes are of uncertain content.  This could be revisited if
      array code is cleaned up.
      Modify opr_sanity regress test to complain if array_eq operator is marked
      hashjoinable.
      d2f7d1f3
  24. Aug 28, 1999
  25. Aug 17, 1999
  26. Aug 14, 1999
  27. Aug 05, 1999
  28. Aug 01, 1999
  29. Jul 27, 1999
  30. Jul 19, 1999
    • Tom Lane's avatar
      Parser no longer considers · 0c4929ff
      Tom Lane authored
      SELECT a/2, a/2 FROM test_missing_target GROUP BY a/2;
      to be ambiguous ... which I think is correct behavior.
      0c4929ff
  31. Jul 17, 1999
  32. Jul 09, 1999
  33. Jun 28, 1999
Loading