1. 24 Jan, 2004 2 commits
  2. 23 Jan, 2004 5 commits
    • Tom Lane's avatar
      Revise GEQO planner to make use of some heuristic knowledge about SQL, namely · 3969f292
      Tom Lane authored
      that it's good to join where there are join clauses rather than where there
      are not.  Also enable it to generate bushy plans at need, so that it doesn't
      fail in the presence of multiple IN clauses containing sub-joins.  These
      changes appear to improve the behavior enough that we can substantially reduce
      the default pool size and generations count, thereby decreasing the runtime,
      and yet get as good or better plans as we were getting in 7.4.  Consequently,
      adjust the default GEQO parameters.  I also modified the way geqo_effort is
      used so that it affects both population size and number of generations;
      it's now useful as a single control to adjust the GEQO runtime-vs-plan-quality
      tradeoff.  Bump geqo_threshold to 12, since even with these changes GEQO
      seems to be slower than the regular planner at 11 relations.
      3969f292
    • Bruce Momjian's avatar
      Add: · 81c554bb
      Bruce Momjian authored
      > * Improve CREATE SCHEMA regression test
      81c554bb
    • Bruce Momjian's avatar
      Add MySQL mention of licensing difference. · 8e32f78b
      Bruce Momjian authored
      8e32f78b
    • Bruce Momjian's avatar
      Add: · d84db7d5
      Bruce Momjian authored
      > * Allow column-level privileges
      d84db7d5
    • Neil Conway's avatar
      Fix a minor bug introduced by the recent CREATE TABLE AS / WITH OIDS · 0bd3606d
      Neil Conway authored
      patch: a 3-value enum was mistakenly assigned directly to a 'bool'
      in transformCreateStmt(). Along the way, change makeObjectName()
      to be static, as it isn't used outside analyze.c
      0bd3606d
  3. 22 Jan, 2004 7 commits
  4. 21 Jan, 2004 6 commits
  5. 20 Jan, 2004 3 commits
  6. 19 Jan, 2004 10 commits
  7. 18 Jan, 2004 3 commits
    • Peter Eisentraut's avatar
      Translation update · 90d14654
      Peter Eisentraut authored
      90d14654
    • Tom Lane's avatar
      Don't use %s-with-precision format spec to truncate data being displayed · be4b8a86
      Tom Lane authored
      in a COPY error message.  It seems that glibc gets indigestion if it is
      asked to truncate strings that contain invalid UTF-8 encoding sequences.
      vsnprintf will return -1 in such cases, leading to looping and eventual
      memory overflow in elog.c.  Instead use our own, more robust pg_mbcliplen
      routine.  I believe this problem accounts for several recent reports of
      unexpected 'out of memory' errors during COPY IN.
      be4b8a86
    • Tom Lane's avatar
      When testing whether a sub-plan can do projection, use a general-purpose · 6bdfde9a
      Tom Lane authored
      check instead of hardwiring assumptions that only certain plan node types
      can appear at the places where we are testing.  This was always a pretty
      fragile assumption, and it turns out to be broken in 7.4 for certain cases
      involving IN-subselect tests that need type coercion.
      Also, modify code that builds finished Plan tree so that node types that
      don't do projection always copy their input node's targetlist, rather than
      having the tlist passed in from the caller.  The old method makes it too
      easy to write broken code that thinks it can modify the tlist when it
      cannot.
      6bdfde9a
  8. 17 Jan, 2004 1 commit
  9. 16 Jan, 2004 1 commit
  10. 15 Jan, 2004 2 commits