1. 02 12月, 2005 4 次提交
    • B
      Add calcluation of bitmap storage capacity. · 9322a047
      Bruce Momjian 提交于
      <   be cleared when a heap tuple is expired.  Another idea is to maintain
      <   a bitmap of heap pages where all rows are visible to all backends,
      <   and allow index lookups to reference that bitmap to avoid heap
      <   lookups, perhaps the same bitmap we might add someday to determine
      <   which heap pages need vacuuming.
      >   be cleared when a heap tuple is expired.
      >
      >   Another idea is to maintain a bitmap of heap pages where all rows
      >   are visible to all backends, and allow index lookups to reference
      >   that bitmap to avoid heap lookups, perhaps the same bitmap we might
      >   add someday to determine which heap pages need vacuuming.  Frequently
      >   accessed bitmaps would have to be stored in shared memory.  One 8k
      >   page of bitmaps could track 512MB of heap pages.
      9322a047
    • B
      Add all heap page rows visible bitmap idea: · 113ece8f
      Bruce Momjian 提交于
      <   the heap.  One way to allow this is to set a bit to index tuples
      >   the heap.  One way to allow this is to set a bit on index tuples
      <   be cleared when a heap tuple is expired.
      <
      >   be cleared when a heap tuple is expired.  Another idea is to maintain
      >   a bitmap of heap pages where all rows are visible to all backends,
      >   and allow index lookups to reference that bitmap to avoid heap
      >   lookups, perhaps the same bitmap we might add someday to determine
      >   which heap pages need vacuuming.
      113ece8f
    • B
      Add MERGE TODO.detail: · 915fb7f6
      Bruce Momjian 提交于
      >   [merge]
      378a380
      >   [merge]
      915fb7f6
    • B
      Split out MERGE and REPLACE/UPSERT items. · 24e1a045
      Bruce Momjian 提交于
      < * Add MERGE command that does UPDATE/DELETE, or on failure, INSERT (rules,
      <   triggers?)
      > * Add SQL-standard MERGE command, typically used to merge two tables
      >
      >   This is similar to UPDATE, then for unmatched rows, INSERT.
      >   Whether concurrent access allows modifications which could cause
      >   row loss is implementation independent.
      >
      > * Add REPLACE or UPSERT command that does UPDATE, or on failure, INSERT
      24e1a045
  2. 29 11月, 2005 3 次提交
    • B
      Update for 8.2: · 339fbbb9
      Bruce Momjian 提交于
      < #A hyphen, "-", marks changes that will appear in the upcoming 8.1 release.#
      > #A hyphen, "-", marks changes that will appear in the upcoming 8.2 release.#
      339fbbb9
    • B
      Item removed, looping always required: · 8ed7065c
      Bruce Momjian 提交于
      < * Remove Win32 rename/unlink looping if unnecessary
      8ed7065c
    • B
      Add: · a4371a68
      Bruce Momjian 提交于
      > * Allow COMMENT ON to accept an expression rather than just a string
      a4371a68
  3. 24 11月, 2005 2 次提交
  4. 23 11月, 2005 2 次提交
    • B
      Done: · ce1d8293
      Bruce Momjian 提交于
      > 	o -Allow NULLs in arrays
      ce1d8293
    • B
      Add: · c28c00ec
      Bruce Momjian 提交于
      >
      > * Add estimated_count(*) to return an estimate of COUNT(*)
      >
      >   This would use the planner ANALYZE statistatics to return an estimated
      >   count.
      c28c00ec
  5. 17 11月, 2005 2 次提交
    • B
      Update, add mention of user locking table before MERGE: · 84bb3876
      Bruce Momjian 提交于
      <   so duplicate checking can be easily performed.
      >   so duplicate checking can be easily performed.  It is possible to
      >   do it without a unique index if we require the user to LOCK the table
      >   before the MERGE.
      84bb3876
    • B
      Add batch mode, make new libpq section: · 01798a06
      Bruce Momjian 提交于
      < * Add a libpq function to support Parse/DescribeStatement capability
      < * Add PQescapeIdentifier() to libpq
      < * Prevent PQfnumber() from lowercasing unquoted the column name
      <
      <   PQfnumber() should never have been doing lowercasing, but historically
      <   it has so we need a way to prevent it
      <
      648a642,661
      >
      >
      > libpq
      >
      > 	o Add a function to support Parse/DescribeStatement capability
      > 	o Add PQescapeIdentifier()
      > 	o Prevent PQfnumber() from lowercasing unquoted the column name
      >
      > 	  PQfnumber() should never have been doing lowercasing, but
      > 	  historically it has so we need a way to prevent it
      >
      > 	o Allow query results to be automatically batched to the client
      >
      > 	  Currently, all query results are transfered to the libpq
      > 	  client before libpq makes the results available to the
      > 	  application.  This feature would allow the application to make
      > 	  use of the first result rows while the rest are transfered, or
      > 	  held on the server waiting for them to be requested by libpq.
      > 	  One complexity is that a query like SELECT 1/col could error
      > 	  out mid-way through the result set.
      01798a06
  6. 16 11月, 2005 1 次提交
    • B
      Update MERGE: · 698ee9c3
      Bruce Momjian 提交于
      >
      >   To implement this cleanly requires that the table have a unique index
      >   so duplicate checking can be easily performed.
      >
      698ee9c3
  7. 27 10月, 2005 3 次提交
    • B
      Update: · bc93b374
      Bruce Momjian 提交于
      < 	o Allow ALTER TABLE RENAME CONSTRAINT
      > 	o Add ALTER TABLE RENAME CONSTRAINT, update index name also
      bc93b374
    • B
      Add: · befc607d
      Bruce Momjian 提交于
      > 	o Have ALTER INDEX update the name of a constraint using that index
      > 	o Allow ALTER TABLE RENAME CONSTRAINT
      befc607d
    • B
      Add items from Tom: · 807da29c
      Bruce Momjian 提交于
      < 	o Add a GUC variable to allow output of interval values in ISO8601
      < 	  format
      212a211,223
      > 	o Add a GUC variable to allow output of interval values in ISO8601
      > 	  format
      > 	o Improve timestamptz subtraction to be DST-aware
      >
      > 	  Currently, subtracting one date from another that crosses a
      > 	  daylight savings time adjustment can return '1 day 1 hour', but
      > 	  adding that back to the first date returns a time one hour in
      > 	  the future.  This is caused by the adjustment of '25 hours' to
      > 	  '1 day 1 hour', and '1 day' is the same time the next day, even
      > 	  if daylight savings adjustments are involved.
      >
      > 	o Fix interval display to support values exceeding 2^31 hours
      > 	o Add overflow checking to timestamp and interval arithmetic
      807da29c
  8. 26 10月, 2005 1 次提交
    • B
      Add: · 62cfa0f7
      Bruce Momjian 提交于
      >
      > 	o Add auto-expanded mode so expanded output is used if the row
      > 	  length is wider than the screen width.
      >
      > 	  Consider using auto-expanded mode for backslash commands like \df+.
      62cfa0f7
  9. 25 10月, 2005 1 次提交
    • B
      Add: · 9507b560
      Bruce Momjian 提交于
      > * Allow user-defined functions retuning a domain value to enforce domain
      >   constraints
      9507b560
  10. 13 10月, 2005 2 次提交
    • B
      Update: · 249f07b8
      Bruce Momjian 提交于
      > * Prevent PQfnumber() from lowercasing unquoted the column name
      >
      >   PQfnumber() should never have been doing lowercasing, but historically
      >   it has so we need a way to prevent it
      >
      249f07b8
    • B
      Remove item: · adc58f14
      Bruce Momjian 提交于
      < * Prevent libpq's PQfnumber() from lowercasing the column name
      <
      <   One idea is to lowercase all identifiers except those that are
      <   surrounded by quotes.
      <
      adc58f14
  11. 12 10月, 2005 7 次提交
    • B
      No longer needed: · 0a28eb46
      Bruce Momjian 提交于
      <
      < * Add code to detect an SMP machine and handle spinlocks accordingly
      <   from distributted.net, http://www1.distributed.net/source,
      <   in client/common/cpucheck.cpp
      <
      <   On SMP machines, it is possible that locks might be released shortly,
      <   while on non-SMP machines, the backend should sleep so the process
      <   holding the lock can complete and release it.
      0a28eb46
    • B
      Rearrange: · 4aebb5ad
      Bruce Momjian 提交于
      < 	o %Add dumping of comments on composite type columns
      < 	o %Add dumping of comments on index columns
      < 	o Stop dumping CASCADE on DROP TYPE commands in clean mode
      > 	o %Add dumping of comments on index columns and composite type columns
      604a603
      > 	o Stop dumping CASCADE on DROP TYPE commands in clean mode
      4aebb5ad
    • B
      Done: · d5310ca9
      Bruce Momjian 提交于
      < 	o %Replace crude DELETE FROM method of pg_dumpall --clean for
      <           cleaning of roles with separate DROP commands
      608a607
      >
      d5310ca9
    • B
      Add: · 87a67d18
      Bruce Momjian 提交于
      <
      > 	o Allow pg_dump --clean to drop roles that own objects or have
      > 	  privileges
      87a67d18
    • B
      Add description: · 75229020
      Bruce Momjian 提交于
      < * Prevent libpq's PQfnumber() from lowercasing the column name?
      > * Prevent libpq's PQfnumber() from lowercasing the column name
      >
      >   One idea is to lowercase all identifiers except those that are
      >   surrounded by quotes.
      >
      75229020
    • B
      Add: · 368f0b28
      Bruce Momjian 提交于
      > 	o Add options like pg_restore -l and -L to pg_dump
      368f0b28
    • B
      Add: · e4aa5be9
      Bruce Momjian 提交于
      > 	o Allow selection of individual object(s) of all types, not just
      > 	  tables
      > 	o In a selective dump, allow dumping of an object and all its
      > 	  dependencies
      e4aa5be9
  12. 07 10月, 2005 2 次提交
    • B
      Update: · ab13353d
      Bruce Momjian 提交于
      < * Consider compressing indexes by storing key prefix values shared by
      > * Consider compressing indexes by storing key values duplicated in
      735a736,737
      >
      >   This is difficult because it requires datatype-specific knowledge.
      ab13353d
    • B
      Add: · 02eb6ea9
      Bruce Momjian 提交于
      <
      > * Consider compressing indexes by storing key prefix values shared by
      >   several rows as a single index entry
      02eb6ea9
  13. 03 10月, 2005 2 次提交
    • B
      Remove, 8.1 completed items already removed: · 6a175779
      Bruce Momjian 提交于
      < * -Have sequence dependency track use of DEFAULT sequences
      6a175779
    • B
      Done: · 2aa39a4c
      Bruce Momjian 提交于
      < * Have sequence dependency track use of DEFAULT sequences,
      <   seqname.nextval?
      > * -Have sequence dependency track use of DEFAULT sequences
      2aa39a4c
  14. 28 9月, 2005 1 次提交
    • B
      Done: · 455f48dd
      Bruce Momjian 提交于
      < * +Add options to pg_config to show the share_dir, sysconfdir,
      <   pkgincludedir, and localedir
      455f48dd
  15. 27 9月, 2005 2 次提交
  16. 26 9月, 2005 2 次提交
    • B
      Done: · 3ff1dc50
      Bruce Momjian 提交于
      < * Allow protocol-level EXECUTE that is actually a fetch to appear
      <   in the logs as a fetch rather than another execute
      3ff1dc50
    • B
      Add: · 88922598
      Bruce Momjian 提交于
      > * Allow protocol-level BIND parameter values to be logged
      > * Allow protocol-level EXECUTE that is actually a fetch to appear
      >   in the logs as a fetch rather than another execute
      88922598
  17. 24 9月, 2005 3 次提交
    • B
      Add: · 86044a9d
      Bruce Momjian 提交于
      > * Simplify dropping roles that have objects in several databases
      86044a9d
    • B
      Add: · 6db56cdf
      Bruce Momjian 提交于
      > 	o Allow PL/PgSQL to support WITH HOLD cursors
      6db56cdf
    • B
      Add: · bf8e5362
      Bruce Momjian 提交于
      >
      > 	o Display IN, INOUT, and OUT parameters in \df+
      >
      > 	  It probably requires psql to output newlines in the proper
      > 	  column, which is already on the TODO list.
      bf8e5362