1. 04 Apr, 2000 12 commits
    • Tom Lane's avatar
      Fix bug noted by Bruce: FETCH in an already-aborted transaction block · 708f82f1
      Tom Lane authored
      would crash, due to premature invocation of SetQuerySnapshot().  Clean
      up problems with handling of multiple queries by splitting
      pg_parse_and_plan into two routines.  The old code would not, for
      example, do the right thing with END; SELECT... submitted in one query
      string when it had been in transaction abort state, because it'd decide
      to skip planning the SELECT before it had executed the END.  New
      arrangement is simpler and doesn't force caller to plan if only
      parse+rewrite is needed.
      708f82f1
    • Bruce Momjian's avatar
      30d4f582
    • Bruce Momjian's avatar
      Remove from FETCH manual page: · ca6c98db
      Bruce Momjian authored
             Once  all  rows  are  fetched,  every  other  fetch access
             returns no rows.
      ca6c98db
    • Bruce Momjian's avatar
      No ID file needed. · 0d26b456
      Bruce Momjian authored
      0d26b456
    • Bruce Momjian's avatar
      Update QNX FAQ · 9e7a4ccf
      Bruce Momjian authored
      9e7a4ccf
    • Tom Lane's avatar
      Add a check to pg_dump to see whether backend is same version as pg_dump. · c84ba663
      Tom Lane authored
      If not, abort by default.  Abort can be prevented by using -i or
      --ignore-version switch.
      c84ba663
    • Bruce Momjian's avatar
      Update regression for bsdi. · edd4131e
      Bruce Momjian authored
      edd4131e
    • Tom Lane's avatar
      Correct off-by-one error in strncat() usage. · 3f94bc19
      Tom Lane authored
      3f94bc19
    • Tom Lane's avatar
      When rewriting an aggregate introduced into WHERE, allow agg argument to · 7fbf0af2
      Tom Lane authored
      be an expression not just a simple Var, so long as only one table is
      referenced (so that code isn't really any more difficult than before).
      This whole thing is still fundamentally bogus, but at least we can accept
      a few more cases than before.
      7fbf0af2
    • Tom Lane's avatar
      For no good reason at all, libplpgsql was getting linked with libpq. · 2ae6e863
      Tom Lane authored
      Since plpgsql is a backend extension, it doesn't need libpq...
      2ae6e863
    • Tom Lane's avatar
      Fix extremely nasty little bug observed when a sub-SELECT appears in · 1c72a8a3
      Tom Lane authored
      WHERE in a place where it can be part of a nestloop inner indexqual.
      As the code stood, it put the same physical sub-Plan node into both
      indxqual and indxqualorig of the IndexScan plan node.  That confused
      later processing in the optimizer (which expected that tracing the
      subPlan list would visit each subplan node exactly once), and would
      probably have blown up in the executor if the planner hadn't choked first.
      Fix by making the 'fixed' indexqual be a complete deep copy of the
      original indexqual, rather than trying to share nodes below the topmost
      operator node.  This had further ramifications though, because we were
      making the aforesaid list of sub-Plan nodes during SS_process_sublinks
      which is run before construction of the 'fixed' indexqual, meaning that
      the copy of the sub-Plan didn't show up in that list.  Fix by rearranging
      logic so that the sub-Plan list is built by the final set_plan_references
      pass, not in SS_process_sublinks.  This may sound like a mess, but it's
      actually a good deal cleaner now than it was before, because we are no
      longer dependent on the assumption that planning will never make a copy
      of a sub-Plan node.
      1c72a8a3
    • Thomas G. Lockhart's avatar
      Augment the function call map logic with code from Tom Lane. · 8cdabf07
      Thomas G. Lockhart authored
       Should be more robust to overflows.
       Pass through an unmapped function unchanged, rather than rejecting it.
      Add a few more functions, but comment out those which can go through as-is.
      Can be used with contrib/odbc/ package, though that isn't committed yet.
      8cdabf07
  2. 03 Apr, 2000 3 commits
  3. 02 Apr, 2000 3 commits
  4. 31 Mar, 2000 22 commits