1. 07 Mar, 2008 8 commits
    • Tom Lane's avatar
      Change hashscan.c to keep its list of active hash index scans in · 6a178266
      Tom Lane authored
      TopMemoryContext, rather than scattered through executor per-query contexts.
      This poses no danger of memory leak since the ResourceOwner mechanism
      guarantees release of no-longer-needed items.  It is needed because the
      per-query context might already be released by the time we try to clean up
      the hash scan list.  Report by ykhuang, diagnosis by Heikki.
      
      Back-patch to 8.0, where the ResourceOwner-based cleanup was introduced.
      The given test case does not fail before 8.2, probably because we rearranged
      transaction abort processing somehow; but this coding is undoubtedly risky
      so I'll patch 8.0 and 8.1 anyway.
      6a178266
    • Bruce Momjian's avatar
      Add: · b2facfd9
      Bruce Momjian authored
      > 	o Have \l+ show database size, if permissions allow
      >
      > 	  Ideally it will not generate an error for invalid permissions
      >
      b2facfd9
    • Bruce Momjian's avatar
      Add: · cbd08f63
      Bruce Momjian authored
      >
      > * Add comments on system tables/columns using the information in
      >   catalogs.sgml
      >
      >   Ideally the information would be pulled from the SGML file
      >   automatically.
      >
      cbd08f63
    • Teodor Sigaev's avatar
      Fix memory arrangement of tsquery after removing stop words. It causes · 3b8bca33
      Teodor Sigaev authored
      a unused memory holes in tsquery.
      
      Per report by Richard Huxton <dev@archonet.com>.
      
      It was working well because in fact tsquery->size is not used for any
      kind of operation except comparing tsqueries. So, in HEAD it's enough to
      fix to_tsquery function, but for previous version it's needed to
      remove optimization in CompareTSQ to prevent requirement of renew all
      stored tsquery.
      3b8bca33
    • Bruce Momjian's avatar
      Clearify PITR doc wording. · 588d213a
      Bruce Momjian authored
      588d213a
    • Bruce Momjian's avatar
      Update wording: · 5490ccc0
      Bruce Momjian authored
      < 	o Require all check constraints to be inherited
      > 	o Require all CHECK constraints to be inherited
      5490ccc0
    • Bruce Momjian's avatar
      Add: · 86e39da9
      Bruce Momjian authored
      >
      > 	o Require all check constraints to be inherited
      >
      > 	  http://archives.postgresql.org/pgsql-bugs/2007-04/msg00026.php
      86e39da9
    • Bruce Momjian's avatar
      Add: · 868d7e26
      Bruce Momjian authored
      > 	o Have \d show foreign keys that reference a table's primary key
      >
      > 	  http://archives.postgresql.org/pgsql-hackers/2007-04/msg00424.php
      >
      > 	o Have \d show child tables that inherit from the specified parent
      868d7e26
  2. 06 Mar, 2008 15 commits
  3. 05 Mar, 2008 10 commits
  4. 04 Mar, 2008 7 commits
    • Tom Lane's avatar
      Fix PREPARE TRANSACTION to reject the case where the transaction has dropped a · 7d6e6e2e
      Tom Lane authored
      temporary table; we can't support that because there's no way to clean up the
      source backend's internal state if the eventual COMMIT PREPARED is done by
      another backend.  This was checked correctly in 8.1 but I broke it in 8.2 :-(.
      Patch by Heikki Linnakangas, original trouble report by John Smith.
      7d6e6e2e
    • Magnus Hagander's avatar
      Use windows DACL fix for pg_regress as well. · 9b8a93ba
      Magnus Hagander authored
      Dave Page
      9b8a93ba
    • Bruce Momjian's avatar
      Update pg_dump item: · 2c63d840
      Bruce Momjian authored
      < 	  produce a single dump output file.
      > 	  produce a single dump output file.  It also would require
      > 	  several sessions to share the same snapshot.
      2c63d840
    • Bruce Momjian's avatar
    • Bruce Momjian's avatar
      Remove: · 60c93d39
      Bruce Momjian authored
      <
      < 	o To better utilize resources, restore data, primary keys, and
      <  	  indexes for a single table before restoring the next table
      <
      < 	  Hopefully this will allow the CPU-I/O load to be more uniform
      < 	  for simultaneous restores.  The idea is to start data restores
      < 	  for several objects, and once the first object is done, to move
      < 	  on to its primary keys and indexes.  Over time, simultaneous
      < 	  data loads and index builds will be running.
      60c93d39
    • Bruce Momjian's avatar
      Add URL for: · 66504d76
      Bruce Momjian authored
              o Allow pg_restore to utilize multiple CPUs and I/O channels by
                restoring multiple objects simultaneously
      
      > 	  http://archives.postgresql.org/pgsql-hackers/2008-02/msg00963.php
      66504d76
    • Bruce Momjian's avatar
      Add ideas for concurrent pg_dump and pg_restore: · a273d393
      Bruce Momjian authored
      < * pg_dump
      > * pg_dump / pg_restore
      > 	o Allow pg_dump to utilize multiple CPUs and I/O channels by dumping
      > 	  multiple objects simultaneously
      >
      > 	  The difficulty with this is getting multiple dump processes to
      > 	  produce a single dump output file.
      > 	  http://archives.postgresql.org/pgsql-hackers/2008-02/msg00205.php
      >
      > 	o Allow pg_restore to utilize multiple CPUs and I/O channels by
      >           restoring multiple objects simultaneously
      >
      > 	  This might require a pg_restore flag to indicate how many
      > 	  simultaneous operations should be performed.  Only pg_dump's
      > 	  -Fc format has the necessary dependency information.
      >
      > 	o To better utilize resources, restore data, primary keys, and
      >  	  indexes for a single table before restoring the next table
      >
      > 	  Hopefully this will allow the CPU-I/O load to be more uniform
      > 	  for simultaneous restores.  The idea is to start data restores
      > 	  for several objects, and once the first object is done, to move
      > 	  on to its primary keys and indexes.  Over time, simultaneous
      > 	  data loads and index builds will be running.
      >
      > 	o To better utilize resources, allow pg_restore to check foreign
      > 	  keys simultaneously, where possible
      > 	o Allow pg_restore to create all indexes of a table
      > 	  concurrently, via a single heap scan
      >
      > 	  This requires a pg_dump -Fc file because that format contains
      >           the required dependency information.
      > 	  http://archives.postgresql.org/pgsql-general/2007-05/msg01274.php
      >
      > 	o Allow pg_restore to load different parts of the COPY data
      > 	  simultaneously
      <   single heap scan, and have a restore of a pg_dump somehow use it
      >   single heap scan, and have pg_restore use it
      <   http://archives.postgresql.org/pgsql-general/2007-05/msg01274.php
      a273d393