1. 07 Dec, 2007 6 commits
    • Bruce Momjian's avatar
      Remove completed 8.3 TODO items: · d32f2477
      Bruce Momjian authored
      < 	o -Allow commenting of variables in postgresql.conf to restore them
      < 	  to defaults
      < 	o -Add a GUC variable to control the tablespace for temporary objects
      < 	  and sort files
      < Monitoring
      < ==========
      <
      < * -Allow server log information to be output as CSV format
      < * -Add ability to monitor the use of temporary sort files
      < * -Allow user-defined types to accept 'typmod' parameters
      <
      <   http://archives.postgresql.org/pgsql-hackers/2005-08/msg01142.php
      <   http://archives.postgresql.org/pgsql-hackers/2005-09/msg00012.php
      <   http://archives.postgresql.org/pgsql-hackers/2006-08/msg00149.php
      <
      < * -Add Globally/Universally Unique Identifier (GUID/UUID)
      <
      <   http://archives.postgresql.org/pgsql-patches/2006-09/msg00209.php
      <   http://archives.postgresql.org/pgsql-general/2007-01/msg00853.php
      <
      < * -Support a data type with specific enumerated values (ENUM)
      < 	o -Add support for arrays of complex types
      < 	o -Make 64-bit version of the MONEY data type
      < * -Add ISO day of week format 'ID' to to_char() where Monday = 1
      < * -Add a field 'isoyear' to extract(), based on the ISO week
      < * -Add RESET SESSION command to reset all session state
      < 	o -Make CLUSTER preserve recently-dead tuples per MVCC requirements
      < 	o -Add more logical syntax CLUSTER table USING index;
      < 	  support current syntax for backward compatibility
      < 	o -Allow UPDATE/DELETE WHERE CURRENT OF cursor
      < 		o -Add support for MOVE cursors
      < 		o -Allow PL/PythonU to return boolean rather than 1/0
      < 	o -Allow psql \pset boolean variables to set to fixed values, rather
      < 	  than toggle
      < 	o -Add -f to pg_dumpall
      < Dependency Checking
      < ===================
      <
      < * -Flush cached query plans when the dependent objects change or
      <   when new ANALYZE statistics are available
      < * -Track dependencies in function bodies and recompile/invalidate
      < * -Invalidate prepared queries, like INSERT, when the table definition
      <   is altered
      <
      < * -Allow use of indexes to search for NULLs
      < * -Allow the creation of indexes with mixed ascending/descending
      <   specifiers
      < * -Reduce checkpoint performance degredation by forcing data to disk
      <   more evenly
      < * -Allow sequential scans to take advantage of other concurrent
      <   sequential scans, also called "Synchronised Scanning"
      < * -Consider shrinking expired tuples to just their headers
      < * -Allow heap reuse of UPDATEd rows if no indexed columns are changed,
      <   and old and new versions are on the same heap page
      < * -Reduce XID consumption of read-only queries
      < 	o -Turn on by default
      < 	o -Allow multiple vacuums so large tables do not starve small
      < 	  tables
      < * -Allow the pg_xlog directory location to be specified during initdb
      <   with a symlink back to the /data location
      < * -Allow buffered WAL writes and fsync
      < * -Allow ORDER BY ... LIMIT # to select high/low value without sort or
      <   index using a sequential scan for highest/lowest values
      < * -Merge xmin/xmax/cmin/cmax back into three header fields
      < 	o -Support a smaller header for short variable-length fields
      < * -Move NAMEDATALEN from postgres_ext.h to pg_config_manual.h
      < * -Fix problem with excessive logging during SSL disconnection
      <
      <   http://archives.postgresql.org/pgsql-bugs/2006-12/msg00122.php
      <   http://archives.postgresql.org/pgsql-bugs/2007-05/msg00065.php
      <
      < 	o -Add long file support for binary pg_dump output
      d32f2477
    • Bruce Momjian's avatar
    • Bruce Momjian's avatar
      52767ea7
    • Tom Lane's avatar
      Clean up a couple of problems in crosstab_hash's use of a hash table. · aaff0a55
      Tom Lane authored
      The original coding leaked memory (at least 8K per crosstab_hash call)
      because it allowed the hash table to be allocated as a child of
      TopMemoryContext and then never freed it.  Fix that by putting the
      hash table under per_query_ctx, instead.  Also get rid of use
      of a static variable to point to the hash table.  Aside from being
      ugly, that would actively do the wrong thing in the case of re-entrant
      calls to crosstab_hash, which are at least theoretically possible
      since it was expecting the static variable to stay valid across
      a SPI_execute call.
      aaff0a55
    • Peter Eisentraut's avatar
      cac82bb2
    • Neil Conway's avatar
      Fix typo in pg_standby docs. Arul Shaji. · bbff4fd3
      Neil Conway authored
      bbff4fd3
  2. 06 Dec, 2007 4 commits
  3. 05 Dec, 2007 1 commit
  4. 04 Dec, 2007 2 commits
  5. 03 Dec, 2007 12 commits
  6. 02 Dec, 2007 6 commits
  7. 01 Dec, 2007 4 commits
  8. 30 Nov, 2007 5 commits
    • Tom Lane's avatar
      Avoid incrementing the CommandCounter when CommandCounterIncrement is called · 895a94de
      Tom Lane authored
      but no database changes have been made since the last CommandCounterIncrement.
      This should result in a significant improvement in the number of "commands"
      that can typically be performed within a transaction before hitting the 2^32
      CommandId size limit.  In particular this buys back (and more) the possible
      adverse consequences of my previous patch to fix plan caching behavior.
      
      The implementation requires tracking whether the current CommandCounter
      value has been "used" to mark any tuples.  CommandCounter values stored into
      snapshots are presumed not to be used for this purpose.  This requires some
      small executor changes, since the executor used to conflate the curcid of
      the snapshot it was using with the command ID to mark output tuples with.
      Separating these concepts allows some small simplifications in executor APIs.
      
      Something for the TODO list: look into having CommandCounterIncrement not do
      AcceptInvalidationMessages.  It seems fairly bogus to be doing it there,
      but exactly where to do it instead isn't clear, and I'm disinclined to mess
      with asynchronous behavior during late beta.
      895a94de
    • Tom Lane's avatar
      Repair bug that allowed RevalidateCachedPlan to attempt to rebuild a cached · f0f18c70
      Tom Lane authored
      plan before the effects of DDL executed in an immediately prior SPI operation
      had been absorbed.  Per report from Chris Wood.
      
      This patch has an unpleasant side effect of causing the number of
      CommandCounterIncrement()s done by a typical plpgsql function to
      approximately double.  Amelioration of the consequences of that
      will be undertaken in a separate patch.
      f0f18c70
    • Magnus Hagander's avatar
    • Magnus Hagander's avatar
      Use _dosmaperr() to deal with errors opening files in pgwin32_open(). · 35736874
      Magnus Hagander authored
      Per complaint from Alvaro and subsequent discussion.
      35736874
    • Bruce Momjian's avatar
      Update release notes to current CVS. · c2d30556
      Bruce Momjian authored
      c2d30556