1. 27 Jan, 2003 1 commit
  2. 26 Jan, 2003 3 commits
  3. 25 Jan, 2003 3 commits
    • Tom Lane's avatar
      Allow the planner to collapse explicit inner JOINs together, rather than · 9f5f2124
      Tom Lane authored
      necessarily following the JOIN syntax to develop the query plan.  The old
      behavior is still available by setting GUC variable JOIN_COLLAPSE_LIMIT
      to 1.  Also create a GUC variable FROM_COLLAPSE_LIMIT to control the
      similar decision about when to collapse sub-SELECT lists into their parent
      lists.  (This behavior existed already, but the limit was always
      GEQO_THRESHOLD/2; now it's separately adjustable.)
      9f5f2124
    • Tom Lane's avatar
      Where available, use utime() or utimes() to update the file mod time · 15ab7a87
      Tom Lane authored
      of the socket file and socket lock file; this should prevent both of them
      from being removed by even the stupidest varieties of /tmp-cleaning
      script.  Per suggestion from Giles Lean.
      15ab7a87
    • Tom Lane's avatar
      Use stat(2) to probe for existing xlog segments in InstallXLogFileSegment, · 80727ce1
      Tom Lane authored
      rather than actually opening the files.  This eliminates some corner cases
      where the file indeed exists but open() fails for another reason, such
      as being out of file descriptors.  The net reliability gain is probably
      tiny, since xlog.c is full of other file open calls that will elog(PANIC)
      if they fail for any reason; but this specific failure mode has been
      observed in the field, so we may as well fix it.
      80727ce1
  4. 24 Jan, 2003 2 commits
    • Tom Lane's avatar
      Suppress gcc warnings. · 7a196bab
      Tom Lane authored
      7a196bab
    • Tom Lane's avatar
      Modify planner's implied-equality-deduction code so that when a set · f5e83662
      Tom Lane authored
      of known-equal expressions includes any constant expressions (including
      Params from outer queries), we actively suppress any 'var = var'
      clauses that are or could be deduced from the set, generating only the
      deducible 'var = const' clauses instead.  The idea here is to push down
      the restrictions implied by the equality set to base relations whenever
      possible.  Once we have applied the 'var = const' clauses, the 'var = var'
      clauses are redundant, and should be suppressed both to save work at
      execution and to avoid double-counting restrictivity.
      f5e83662
  5. 23 Jan, 2003 5 commits
  6. 22 Jan, 2003 4 commits
  7. 21 Jan, 2003 4 commits
  8. 20 Jan, 2003 1 commit
    • Tom Lane's avatar
      IN clauses appearing at top level of WHERE can now be handled as joins. · bdfbfde1
      Tom Lane authored
      There are two implementation techniques: the executor understands a new
      JOIN_IN jointype, which emits at most one matching row per left-hand row,
      or the result of the IN's sub-select can be fed through a DISTINCT filter
      and then joined as an ordinary relation.
      Along the way, some minor code cleanup in the optimizer; notably, break
      out most of the jointree-rearrangement preprocessing in planner.c and
      put it in a new file prep/prepjointree.c.
      bdfbfde1
  9. 19 Jan, 2003 1 commit
    • Bruce Momjian's avatar
      This patch includes a lot of minor cleanups to the SGML documentation, · be2b660e
      Bruce Momjian authored
      including:
      
      - replacing all the appropriate usages of <citetitle>PostgreSQL
      ...</citetitle> with &cite-user;, &cite-admin;, and so on
      
      - fix an omission in the EXECUTE documentation
      
      - add some more text to the EXPLAIN documentation
      
      - improve the PL/PgSQL RETURN NEXT documentation (more work to do here)
      
      - minor markup fixes
      
      
      Neil Conway
      be2b660e
  10. 18 Jan, 2003 1 commit
  11. 17 Jan, 2003 4 commits
  12. 16 Jan, 2003 4 commits
  13. 15 Jan, 2003 7 commits