1. 23 12月, 2005 1 次提交
    • B
      Update item: · 2f1a78e2
      Bruce Momjian 提交于
      >
      >   A more complex solution would be to save multiple plans for different
      >   cardinality and use the appropriate plan based on the EXECUTE values.
      >
      2f1a78e2
  2. 18 12月, 2005 4 次提交
    • B
      Remove item: · 25af534e
      Bruce Momjian 提交于
      < * Allow star join optimizations
      <
      <   While our bitmap scan allows multiple indexes to be joined to get
      <   to heap rows, a star joins allows multiple dimension _tables_ to
      <   be joined to index into a larger main fact table.  The join is
      <   usually performed by either creating a cartesian product of all
      <   the dimmension tables and doing a single join on that product or
      <   using subselects to create bitmaps of each dimmension table match
      <   and merge the bitmaps to perform the join on the fact table.  Some
      <   of these algorithms might be patented.
      25af534e
    • B
      Update: · 3282b633
      Bruce Momjian 提交于
      < * Flush cached query plans when the dependent objects change or
      <   when the cardinality of parameters changes dramatically
      > * Flush cached query plans when the dependent objects change,
      >   when the cardinality of parameters changes dramatically, or
      >   when new ANALYZE statistics are available
      3282b633
    • B
      Add mention of possible patent problems with star joins, per Joshua · 16843ba3
      Bruce Momjian 提交于
      Drake:
      
      <   and merge the bitmaps to perform the join on the fact table.
      >   and merge the bitmaps to perform the join on the fact table.  Some
      >   of these algorithms might be patented.
      16843ba3
    • B
      Add: · 9e9a844f
      Bruce Momjian 提交于
      * Allow star join optimizations
      
        While our bitmap scan allows multiple indexes to be joined to get
        to heap rows, a star joins allows multiple dimension _tables_ to
        be joined to index into a larger main fact table.  The join is
        usually performed by either creating a cartesian product of all
        the dimmension tables and doing a single join on that product or
        using subselects to create bitmaps of each dimmension table match
        and merge the bitmaps to perform the join on the fact table.
      9e9a844f
  3. 17 12月, 2005 4 次提交
    • B
      Add more function to TODO: · 927f5768
      Bruce Momjian 提交于
      < * %Add pg_get_acldef(), pg_get_typedefault(), and pg_get_attrdef()
      > * %Add pg_get_acldef(), pg_get_typedefault(), pg_get_attrdef(),
      >   pg_get_tabledef(), pg_get_domaindef(), pg_get_functiondef()
      927f5768
    • 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
  4. 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
  5. 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
  6. 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
  7. 09 12月, 2005 2 次提交
    • B
      Add Teodor: · d22ec676
      Bruce Momjian 提交于
      > * Teodor is Teodor Sigaev <teodor@sigaev.ru>
      d22ec676
    • B
      Remove a few people: · 0fba659e
      Bruce Momjian 提交于
      < * Claudio is Claudio Natoli <claudio.natoli@memetrics.com>
      1166d1164
      < * Hiroshi is Hiroshi Inoue <Inoue@tpf.co.jp>
      0fba659e
  8. 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
  9. 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
  10. 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
  11. 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
  12. 03 12月, 2005 2 次提交
  13. 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
  14. 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
  15. 24 11月, 2005 2 次提交
  16. 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
  17. 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
  18. 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
  19. 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