1. 22 4月, 2005 7 次提交
  2. 21 4月, 2005 7 次提交
  3. 20 4月, 2005 5 次提交
    • T
      Minor performance improvement: avoid unnecessary creation/unioning of · 9d646321
      Tom Lane 提交于
      bitmaps for multiple indexscans.  Instead just let each indexscan add
      TIDs directly into the BitmapOr node's result bitmap.
      9d646321
    • B
      Add: · de4fbfad
      Bruce Momjian 提交于
      > * Add tool to query pg_stat_* tables and report indexes that aren't needed
      >   or tables that might need indexes
      de4fbfad
    • B
      Add: · e5c7c051
      Bruce Momjian 提交于
      > * Log queries where the optimizer row estimates were dramatically
      >   different from the number of rows actually found (?)
      e5c7c051
    • B
      Add: · 047b8a71
      Bruce Momjian 提交于
      > * All ability to monitor the use of temporary sort files
      047b8a71
    • T
      Create executor and planner-backend support for decoupled heap and index · 4a8c5d03
      Tom Lane 提交于
      scans, using in-memory tuple ID bitmaps as the intermediary.  The planner
      frontend (path creation and cost estimation) is not there yet, so none
      of this code can be executed.  I have tested it using some hacked planner
      code that is far too ugly to see the light of day, however.  Committing
      now so that the bulk of the infrastructure changes go in before the tree
      drifts under me.
      4a8c5d03
  4. 19 4月, 2005 11 次提交
    • T
      Add comment about permissions on pg_ts* tables · 04ce41ca
      Teodor Sigaev 提交于
      04ce41ca
    • B
      >>>>Luckily, PG 8 is available for this. Do you have a short example? · fa66de98
      Bruce Momjian 提交于
      > >>>No, and I think it should be in the manual as an example.
      
      >>>You will need to enter a loop that uses exception handling to detect
      >>>unique_violation.
      >>
      >>Pursuant to an IRC discussion to which Dennis Bjorklund and
      >>Christopher Kings-Lynne made most of the contributions, please find
      >>enclosed an example patch demonstrating an UPSERT-like capability.
      >>
      
      David Fetter
      fa66de98
    • B
      > >Luckily, PG 8 is available for this. Do you have a short example? · bd32a255
      Bruce Momjian 提交于
      >
      > No, and I think it should be in the manual as an example.
      >
      > You will need to enter a loop that uses exception handling to detect
      > unique_violation.
      
      Pursuant to an IRC discussion to which Dennis Bjorklund and
      Christopher Kings-Lynne made most of the contributions, please find
      enclosed an example patch demonstrating an UPSERT-like capability.
      
      David Fetter
      bd32a255
    • B
      The following patch should allow UPDATE_INTERVAL to be specified on the · 7cce39c7
      Bruce Momjian 提交于
      command line. We find this useful because we frequently deal with
      thousands of tables in an environment where neither the databases nor
      the tables are updated frequently. This helps allow us to cut down on
      the overhead of updating the list for every other primary loop of
      pg_autovacuum.
      
      I chose -i as the command-line argument and documented it briefly in
      the README.
      
      The patch was applied to the 7.4.7 version of pg_autovacuum in contrib.
      
      Thomas F.O'Connell
      7cce39c7
    • B
      Attached patch gets rid of the global timezone in the following steps: · aa8bdab2
      Bruce Momjian 提交于
      * Changes the APIs to the timezone functions to take a pg_tz pointer as
      an argument, representing the timezone to use for the selected
      operation.
      
      * Adds a global_timezone variable that represents the current timezone
      in the backend as set by SET TIMEZONE (or guc, or env, etc).
      
      * Implements a hash-table cache of loaded tables, so we don't have to
      read and parse the TZ file everytime we change a timezone. While not
      necesasry now (we don't change timezones very often), I beleive this
      will be necessary (or at least good) when "multiple timezones in the
      same query" is eventually implemented. And code-wise, this was the time
      to do it.
      
      
      There are no user-visible changes at this time. Implementing the
      "multiple zones in one query" is a later step...
      
      This also gets rid of some of the cruft needed to "back out a timezone
      change", since we previously couldn't check a timezone unless it was
      activated first.
      
      Passes regression tests on win32, linux (slackware 10) and solaris x86.
      
      Magnus Hagander
      aa8bdab2
    • B
      Update PITR wording, per Simon. · dd39dd23
      Bruce Momjian 提交于
      dd39dd23
    • T
      pg_dumpall should enforce the server version check for itself, rather · c822fe05
      Tom Lane 提交于
      than simply passing it down to pg_dump.  Else, version-related failures
      in pg_dumpall itself generate unhelpful error messages.
      c822fe05
    • B
      Add WAL entry about compression. · 8023b7fa
      Bruce Momjian 提交于
      8023b7fa
    • B
      Added to TODO: · 07dfdb8d
      Bruce Momjian 提交于
      > * Compress WAL entries [wal]
      07dfdb8d
    • B
      01979d1b
    • T
      record_in and record_recv must be careful to return a separately · 7aa066f1
      Tom Lane 提交于
      pfree'able result, since some callers expect to be able to pfree
      the result of a pass-by-reference function.  Per report from Chris Trawick.
      7aa066f1
  5. 18 4月, 2005 10 次提交