1. 24 May, 2005 5 commits
  2. 23 May, 2005 7 commits
  3. 22 May, 2005 1 commit
    • Tom Lane's avatar
      Teach the planner to remove SubqueryScan nodes from the plan if they · e2159f38
      Tom Lane authored
      aren't doing anything useful (ie, neither selection nor projection).
      Also, extend to SubqueryScan the hacks already in place to avoid
      unnecessary ExecProject calls when the result would just be the same
      tuple the subquery already delivered.  This saves some overhead in
      UNION and other set operations, as well as avoiding overhead for
      unflatten-able subqueries.  Per example from Sokolov Yura.
      e2159f38
  4. 21 May, 2005 5 commits
  5. 20 May, 2005 7 commits
  6. 19 May, 2005 4 commits
  7. 18 May, 2005 2 commits
    • Neil Conway's avatar
      Upon closer inspection, Greg's psql tab completion patch leaks memory. · 6910032a
      Neil Conway authored
      Fix the leak, and add a comment to note that the return value of
      previous_word must be free'd.
      6910032a
    • Neil Conway's avatar
      psql tab completion improvements, from Greg Sabino Mullane: · 4c1f9a0f
      Neil Conway authored
      * Made DELETE into "DELETE FROM"
      * Moved ANALZYE to the end of the list to ease EXPLAIN / VACUUM
        conflicts
      * Removed the ANALYZE xx semicolon completion: we don't do that anywhere
        else
      * Add DECLARE support
      * Add parens for DROP AGGREGATE
      * Add "CASCADE | RESTRICT" for DROP xx
      * Make EXPLAIN <tab> a lot smarter
      * GROUP "BY" and ORDER "BY"
      * "ISOLATION" becomes "ISOLATION LEVEL"
      * Fix error in which REVOKE xx ON yy was receiving "TO", now gets "FROM"
      * Add GRANT/REVOKE xx ON yy TO/FROM choices: usernames, GROUP, PUBLIC
      * PREPARE xx <tab> AS "SELECT | INSERT | UPDATE | DELETE"
      * Add = at end of UPDATE xx SET yy
      * Beef up VACUUM stuff
      4c1f9a0f
  8. 17 May, 2005 9 commits
    • Tom Lane's avatar
      Extend the pg_locks system view so that it can fully display all lock · a9c4c9cd
      Tom Lane authored
      types, as per recent discussion.
      a9c4c9cd
    • Tom Lane's avatar
      Add a --dbname option to the pg_regress script, and use pl_regression · 4e7d6f53
      Tom Lane authored
      for testing PLs and contrib_regression for testing contrib, instead of
      overwriting the core system's regression database as formerly done.
      Andrew Dunstan
      4e7d6f53
    • Tom Lane's avatar
      Guard against duplicate IDs in input file in SortTocFromFile(). · f9ad8a28
      Tom Lane authored
      Per report from Brian Hackett.
      f9ad8a28
    • Bruce Momjian's avatar
      Update: · 5185cc8e
      Bruce Momjian authored
      < * All ability to monitor the use of temporary sort files
      > * Add ability to monitor the use of temporary sort files
      5185cc8e
    • Bruce Momjian's avatar
      5e1bfa82
    • Bruce Momjian's avatar
      Fix Chinese markup some more. · 472f9be4
      Bruce Momjian authored
      472f9be4
    • Neil Conway's avatar
      Cleanup GiST header files. Since GiST extensions are often written as · c891e05f
      Neil Conway authored
      external projects, we should be careful about what parts of the GiST
      API are considered implementation details, and which are part of the
      public API. Therefore, I've moved internal-only declarations into
      gist_private.h -- future backward-incompatible changes to gist.h should
      be made with care, to avoid needlessly breaking external GiST extensions.
      
      Also did some related header cleanup: remove some unnecessary #includes
      from gist.h, and remove some unused definitions: isAttByVal(), _gistdump(),
      and GISTNStrategies.
      c891e05f
    • Neil Conway's avatar
      GiST improvements: · eda6dd32
      Neil Conway authored
      - make sure we always invoke user-supplied GiST methods in a short-lived
        memory context. This means the backend isn't exposed to any memory leaks
        that be in those methods (in fact, it is probably a net loss for most
        GiST methods to bother manually freeing memory now). This also means
        we can do away with a lot of ugly manual memory management in the
        GiST code itself.
      
      - keep the current page of a GiST index scan pinned, rather than doing a
        ReadBuffer() for each tuple produced by the scan. Since ReadBuffer() is
        expensive, this is a perf. win
      
      - implement dead tuple killing for GiST indexes (which is easy to do, now
        that we keep a pin on the current scan page). Now all the builtin indexes
        implement dead tuple killing.
      
      - cleanup a lot of ugly code in GiST
      eda6dd32
    • Bruce Momjian's avatar
      Fix markup: · 818bfda1
      Bruce Momjian authored
      < 	* Add internationalized message strings
      > 	o Add internationalized message strings
      818bfda1