1. 17 12月, 2005 4 次提交
    • B
      Update: · eae75beb
      Bruce Momjian 提交于
      < * Flush cached query plans when the dependent objects change
      > * Flush cached query plans when the dependent objects change or
      >   when the cardinality of parameters changes dramatically
      eae75beb
    • B
      Add: · 56ea9ad1
      Bruce Momjian 提交于
      > * Allow the count returned by SELECT, etc to be to represent as an int64
      >   to allow a higher range of values
      56ea9ad1
    • B
      Force update. · cb77a9ea
      Bruce Momjian 提交于
      cb77a9ea
    • N
      Fix some typos in the TODO list. · 1c7347f8
      Neil Conway 提交于
      1c7347f8
  2. 12 12月, 2005 1 次提交
    • B
      Update wording, query -> statement: · baf4e187
      Bruce Momjian 提交于
      < * %Allow pooled connections to list all prepared queries
      > * %Allow pooled connections to list all prepared statements
      28c28
      <   the queries prepared in the current session.
      >   the statements prepared in the current session.
      143c143
      < 	  o Allow a warm standby system to also allow read-only queries
      > 	  o Allow a warm standby system to also allow read-only statements
      404c404
      < * Add GUC to issue notice about queries that use unjoined tables
      > * Add GUC to issue notice about statements that use unjoined tables
      490c490
      < 	  Another idea would be to allow actual SELECT queries in a COPY.
      > 	  Another idea would be to allow actual SELECT statements in a COPY.
      554c554
      < 	o Allow function argument names to be queries from PL/PgSQL
      > 	o Allow function argument names to be statements from PL/PgSQL
      591c591
      < 	o Improve psql's handling of multi-line queries
      > 	o Improve psql's handling of multi-line statements
      < 	  Currently, while \e saves a single query as one entry, interactive
      < 	  queries are saved one line at a time.  Ideally all queries
      > 	  Currently, while \e saves a single statement as one entry, interactive
      > 	  statements are saved one line at a time.  Ideally all statements
      665c665
      < 	o Allow query results to be automatically batched to the client
      > 	o Allow statement results to be automatically batched to the client
      667c667
      < 	  Currently, all query results are transfered to the libpq
      > 	  Currently, all statement results are transfered to the libpq
      672c672
      < 	  One complexity is that a query like SELECT 1/col could error
      > 	  One complexity is that a statement like SELECT 1/col could error
      739c739
      < * Allow queries across databases or servers with transaction
      > * Allow statements across databases or servers with transaction
      <   inheritance, allow it to work for UPDATE and DELETE queries, and allow
      <   it to be used for all queries with little performance impact
      >   inheritance, allow it to work for UPDATE and DELETE statements, and allow
      >   it to be used for all statements with little performance impact
      876c876
      < * Consider automatic caching of queries at various levels:
      > * Consider automatic caching of statements at various levels:
      947c947
      <   a single session using multiple threads to execute a query faster.
      >   a single session using multiple threads to execute a statement faster.
      1025c1025
      < * Log queries where the optimizer row estimates were dramatically
      > * Log statements where the optimizer row estimates were dramatically
      1146c1146
      < 	  of result sets using new query protocol
      > 	  of result sets using new statement protocol
      baf4e187
  3. 11 12月, 2005 1 次提交
    • B
      Remove item: · c1059314
      Bruce Momjian 提交于
      < * Add GUC variable to run a command on database panic or
      <   smart/fast/immediate shutdown
      c1059314
  4. 10 12月, 2005 2 次提交
    • B
      Done: · ecf4df61
      Bruce Momjian 提交于
      < * Allow installing to directories containing spaces
      > * -Allow installing to directories containing spaces
      ecf4df61
    • B
      Completed: · 07044f5d
      Bruce Momjian 提交于
      * -Have initdb set the input DateStyle (MDY or DMY) based on locale
      07044f5d
  5. 09 12月, 2005 3 次提交
  6. 08 12月, 2005 1 次提交
    • B
      Update: · 10a2df28
      Bruce Momjian 提交于
      <   at initdb time or optionally later.
      >   at initdb time or optionally later.  Consider O_SYNC when
      >   O_DIRECT exists.
      10a2df28
  7. 07 12月, 2005 1 次提交
    • B
      Add: · 371879ca
      Bruce Momjian 提交于
      > * Add GUC variable to run a command on database panic or
      >   smart/fast/immediate shutdown
      371879ca
  8. 05 12月, 2005 1 次提交
    • B
      Update: · 99552287
      Bruce Momjian 提交于
      < 	  Win32 API, and we have to make sure MinGW handles it.
      > 	  Win32 API, and we have to make sure MinGW handles it.  Another
      > 	  option is to wait for the MinGW project to fix it, or use the
      > 	  code from the LibGW32C project as a guide.
      99552287
  9. 04 12月, 2005 3 次提交
    • B
      Add: · 8752479d
      Bruce Momjian 提交于
      > 	o Add long file support for binary pg_dump output
      >
      > 	  While Win32 supports 64-bit files, the MinGW API does not,
      > 	  meaning we have to build an fseeko replacement on top of the
      > 	  Win32 API, and we have to make sure MinGW handles it.
      8752479d
    • B
      Add: · bedb5fc3
      Bruce Momjian 提交于
      > * Add SPI_gettypmod() to return the typemod for a TupleDesc
      bedb5fc3
    • B
      Add for autovacuum: · 49bbff0f
      Bruce Momjian 提交于
      > 	o Consider logging activity either to the logs or a system view
      49bbff0f
  10. 03 12月, 2005 2 次提交
  11. 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
  12. 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
  13. 24 11月, 2005 2 次提交
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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
  19. 25 10月, 2005 1 次提交
    • B
      Add: · 9507b560
      Bruce Momjian 提交于
      > * Allow user-defined functions retuning a domain value to enforce domain
      >   constraints
      9507b560
  20. 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