1. 26 Aug, 2005 1 commit
    • Bruce Momjian's avatar
      Great TODO updates from Tom: · 9f604687
      Bruce Momjian authored
      <   Currently SIGTERM of a backend can lead to lock table corruption.
      >   Lock table corruption following SIGTERM of an individual backend
      >   has been reported in 8.0.  A possible cause was fixed in 8.1, but
      >   it is unknown whether other problems exist.  This item mostly
      >   requires additional testing rather than of writing any new code.
      < 	o Allow postgresql.conf values to be set so they can not be changed
      < 	  by the user
      166c167,171
      < * %Remove Money type, add money formatting for decimal type
      > * Improve the MONEY data type
      >
      >   Change the MONEY data type to use DECIMAL internally, with special
      >   locale-aware output formatting.
      >
      225c230
      < 	o %Allow MIN()/MAX() on arrays
      > 	o -Allow MIN()/MAX() on arrays
      228c233
      < 	o Modify array literal representation to handle array index lower bound
      > 	o -Modify array literal representation to handle array index lower bound
      235a241
      > 	o Auto-delete large objects when referencing row is deleted
      < 	  Currently large objects entries do not have owners. Permissions can
      < 	  only be set at the pg_largeobject table level.
      >           /contrib/lo offers this functionality.
      240d244
      < 	o Auto-delete large objects when referencing row is deleted
      < * %Have views on temporary tables exist in the temporary namespace
      < * Allow temporary views on non-temporary tables
      < * %Allow RULE recompilation
      > * -Have views on temporary tables exist in the temporary namespace
      > * -Allow temporary views on non-temporary tables
      > * Allow VIEW/RULE recompilation when the underlying tables change
      340a345,347
      >
      >   This is like DELETE CASCADE, but truncates.
      >
      381c388
      < * Make row-wise comparisons work per SQL spec
      > * %Make row-wise comparisons work per SQL spec
      < 	o Currently the system uses the operating system COPY command to
      < 	  create a new database. Add ON COMMIT capability to CREATE TABLE AS
      < 	  SELECT
      > 	o Add ON COMMIT capability to CREATE TABLE AS ... SELECT
      427c432
      < 	o %Add ALTER DOMAIN TYPE
      > 	o Add ALTER DOMAIN to modify the underlying data type
      < 	o %Disallow dropping of an inherited constraint
      < 	o -Allow objects to be moved to different schemas
      > 	o Add missing object types for ALTER ... SET SCHEMA
      < 	o %Prevent child tables from altering constraints like CHECK that were
      < 	  inherited from the parent table
      > 	o %Disallow dropping of an inherited constraint
      > 	o %Prevent child tables from altering or dropping constraints
      >           like CHECK that were inherited from the parent table
      < 	o Handle references to temporary tables that are created, destroyed,
      < 	  then recreated during a session, and EXECUTE is not used
      <
      < 	  This requires the cached PL/PgSQL byte code to be invalidated when
      < 	  an object referenced in the function is changed.
      <
      < 	o Add table function support to pltcl, plperl, plpython?
      < 	o Allow PL/pgSQL to name columns by ordinal position, e.g. rec.(3)
      > 	o Add table function support to pltcl, plpython
      549a548
      > 	o Allow function argument names to be queries from PL/PgSQL
      < 	o Pass arrays natively instead of as text between plperl and postgres
      < 	o Add support for polymorphic arguments and return types to plperl
      > 	o -Pass arrays natively instead of as text between plperl and postgres
      > 	o Add support for polymorphic arguments and return types to
      > 	  languages other than PL/PgSQL
      > 	o Add support for OUT and INOUT parameters to languages other
      > 	  than PL/PgSQL
      < * Allow libpq to access SQLSTATE so pg_ctl can test for connection failure
      <
      <   This would be used for checking if the server is up.
      <
      565c563
      < * Have initdb set DateStyle based on locale?
      > * Have initdb set the input DateStyle (MDY or DMY) based on locale?
      567d564
      < * Add a schema option to createlang
      < 	o Add pg_dumpall custom format dumps.
      <
      < 	  This is probably best done by combining pg_dump and pg_dumpall
      < 	  into a single binary.
      <
      > 	o Add pg_dumpall custom format dumps?
      612c605,606
      < 	o Remove unnecessary abstractions in pg_dump source code
      > 	o Remove unnecessary function pointer abstractions in pg_dump source
      > 	  code
      < * %Remove CREATE CONSTRAINT TRIGGER
      <
      <   This was used in older releases to dump referential integrity
      <   constraints.
      <
      682a672,675
      >   This is particularly important for references to temporary tables
      >   in PL/PgSQL because PL/PgSQL caches query plans.  The only workaround
      >   in PL/PgSQL is to use EXECUTE.
      >
      748c741
      < * Fetch heap pages matching index entries in sequential order
      > * -Fetch heap pages matching index entries in sequential order
      797c790
      < 	  Currently no only one hash bucket can be stored on a page. Ideally
      > 	  Currently only one hash bucket can be stored on a page. Ideally
      806a800,802
      > 	o Add WAL logging for crash recovery
      > 	o Allow multi-column hash indexes
      >
      812a809,812
      >
      >   Ideally this requires a separate test program that can be run
      >   at initdb time or optionally later.
      >
      867c867
      < * Improve the background writer
      > * -Improve the background writer
      <   For large table adjustements during vacuum, it is faster to reindex
      <   rather than update the index.
      >   For large table adjustements during VACUUM FULL, it is faster to
      >   reindex rather than update the index.
      < * Reduce lock time by moving tuples with read lock, then write
      <   lock and truncate table
      > * Reduce lock time during VACUUM FULL by moving tuples with read lock,
      >   then write lock and truncate table
      919c919,920
      < 	o %Suggest VACUUM FULL if a table is nearly empty
      > 	o %Issue log message to suggest VACUUM FULL if a table is nearly
      > 	  empty?
      995d995
      < * Add WAL index reliability improvement to non-btree indexes
      1045c1045
      < * ANALYZE should record a pg_statistic entry for an all-NULL column
      > * -ANALYZE should record a pg_statistic entry for an all-NULL column
      1047a1048,1051
      > * Allow constraint_elimination to be automatically performed
      >
      >   This requires additional code to reduce the performance loss caused by
      >   constraint elimination.
      1090c1094
      < * Remove memory/file descriptor freeing before ereport(ERROR)
      > * %Remove memory/file descriptor freeing before ereport(ERROR)
      < * Promote debug_query_string into a server-side function current_query()
      < * Allow the identifier length to be increased via a configure option
      > * %Promote debug_query_string into a server-side function current_query()
      > * %Allow the identifier length to be increased via a configure option
      1113d1116
      < * Fix cross-compiling of time zone database via 'zic'
      1130c1133
      < 	o Improve dlerror() reporting string
      > 	o -Improve dlerror() reporting string
      1132c1135
      <         o Add support for Unicode
      >         o %Add support for Unicode
      9f604687
  2. 25 Aug, 2005 1 commit
    • Bruce Momjian's avatar
      Completed: · 12c41d7e
      Bruce Momjian authored
      < * -Allow triggers to be disabled [trigger]
      > * -Allow triggers to be disabled
      12c41d7e
  3. 24 Aug, 2005 8 commits
    • Bruce Momjian's avatar
      Remove sentence: · c4bf5821
      Bruce Momjian authored
      < 	  Logically, a reload should set the same values as a
      <           server restart.
      c4bf5821
    • Bruce Momjian's avatar
      Update: · 75f633b6
      Bruce Momjian authored
      <           Currently, if a variable is commented out, it keeps the
      <           previous uncommented value until a server restarted.
      > 	  Currently, if a variable is commented out, it keeps the
      > 	  previous uncommented value until a server restarted.
      > 	  Logically, a reload should set the same values as a
      >           server restart.
      75f633b6
    • Bruce Momjian's avatar
      Additem: · a06d98bb
      Bruce Momjian authored
      > * Add sleep() function, remove from regress.c
      a06d98bb
    • Bruce Momjian's avatar
      Add: · 249a720e
      Bruce Momjian authored
      > 	o Add sleep() to PL/PgSQL
      249a720e
    • Bruce Momjian's avatar
      Fix typo. · c864c3bf
      Bruce Momjian authored
      c864c3bf
    • Bruce Momjian's avatar
      Mark "easy" items. · ee2b61ee
      Bruce Momjian authored
      Jim C. Nasby
      ee2b61ee
    • Bruce Momjian's avatar
      Update: · 6ca102d6
      Bruce Momjian authored
      < 	o Do VACUUM FULL if table is nearly empty?
      > 	o Suggest VACUUM FULL if a table is nearly empty
      6ca102d6
    • Bruce Momjian's avatar
      Add explaination: · 69e4e570
      Bruce Momjian authored
      >
      >           Currently, if a variable is commented out, it keeps the
      >           previous uncommented value until a server restarted.
      >
      69e4e570
  4. 23 Aug, 2005 1 commit
    • Bruce Momjian's avatar
      Mark item as complete, add another: · 2b215215
      Bruce Momjian authored
      < * Allow triggers to be disabled [trigger]
      > * -Allow triggers to be disabled [trigger]
      > * Allow triggers to be disabled in only the current session.
      <   Currently the only way to disable triggers is to modify the system
      <   tables.
      >   This is currently possible by starting a multi-statement transaction,
      >   modifying the system tables, performing the desired SQL, restoring the
      >   system tables, and committing the transaction.  ALTER TABLE ...
      >   TRIGGER requires a table lock so it is not idea for this usage.
      2b215215
  5. 22 Aug, 2005 1 commit
  6. 21 Aug, 2005 1 commit
    • Bruce Momjian's avatar
      Add: · e22443f4
      Bruce Momjian authored
      > * Fix problems with wrong runtime encoding conversion for NLS message files
      e22443f4
  7. 18 Aug, 2005 2 commits
    • Bruce Momjian's avatar
      Add: · 96f63aeb
      Bruce Momjian authored
      > 	o Remove unnecessary abstractions in pg_dump source code
      96f63aeb
    • Bruce Momjian's avatar
      Done: · a11fe545
      Bruce Momjian authored
      > * -Prevent to_char() on interval from returning meaningless values
      a11fe545
  8. 09 Aug, 2005 3 commits
    • Bruce Momjian's avatar
      Combine entries: · f80cf690
      Bruce Momjian authored
      <   inheritance
      < * Allow enable_constraint_exclusion to work for UPDATE and DELETE queries
      >   inheritance, and allow it to work for UPDATE and DELETE queries
      f80cf690
    • Bruce Momjian's avatar
      Done: · 20e26447
      Bruce Momjian authored
      > * -Add C code on Unix to copy directories for use in creating new databases
      20e26447
    • Bruce Momjian's avatar
      Done: · 6a3021b7
      Bruce Momjian authored
      > * -Allow multiple blocks to be written to WAL with one write()
      6a3021b7
  9. 08 Aug, 2005 1 commit
    • Bruce Momjian's avatar
      Done: · 2dd9672d
      Bruce Momjian authored
      > 	o -Allow FOR UPDATE queries to do NOWAIT locks
      2dd9672d
  10. 03 Aug, 2005 1 commit
    • Bruce Momjian's avatar
      · e48b28b6
      Bruce Momjian authored
      Done:
      
      < * Prevent inherited tables from expanding temporary subtables of other
      > * -Prevent inherited tables from expanding temporary subtables of other
      e48b28b6
  11. 01 Aug, 2005 3 commits
    • Bruce Momjian's avatar
      Done: · 614b6e25
      Bruce Momjian authored
      > * -Allow limits on per-db/role connections
      614b6e25
    • Bruce Momjian's avatar
      Done: · 523997da
      Bruce Momjian authored
      < 	o Allow objects to be moved to different schemas
      > 	o -Allow objects to be moved to different schemas
      
      Fix word wrap:
      
      < 	* Allow GRANT/REVOKE permissions to be applied to all schema objects with one
      < 	  command
      > 	o Allow GRANT/REVOKE permissions to be applied to all schema objects
      > 	  with one command
      523997da
    • Bruce Momjian's avatar
      Add description: · a85e5d1b
      Bruce Momjian authored
      < 	  This would require a new global table that is dumped to flat file for
      < 	  use by the postmaster.  We do a similar thing for pg_shadow currently.
      > 	  This would add a function to load the SQL table from
      >           pg_hba.conf, and one to writes its contents to the flat file.
      > 	  The table should have a line number that is a float so rows
      > 	  can be inserted between existing rows, e.g. row 2.5 goes
      > 	  between row 2 and row 3.
      a85e5d1b
  12. 31 Jul, 2005 3 commits
    • Bruce Momjian's avatar
      Suggest syntax: · b1258771
      Bruce Momjian authored
      < 	o Allow postgresql.conf file values to be changed via an SQL API
      > 	o Allow postgresql.conf file values to be changed via an SQL
      > 	  API, perhaps using SET GLOBAL
      b1258771
    • Bruce Momjian's avatar
      Add item to sentence: · 73b574c1
      Bruce Momjian authored
      < 	* Allow server logs to be remotely read using SQL commands
      151a151
      > * Allow server logs to be remotely read and removed using SQL commands
      73b574c1
    • Bruce Momjian's avatar
      Spacing improvement. · 81b1551e
      Bruce Momjian authored
      81b1551e
  13. 30 Jul, 2005 8 commits
    • Bruce Momjian's avatar
      Add constraint exclusion items: · 90524998
      Bruce Momjian authored
      <
      > * Allow EXPLAIN to identify tables that were skipped because of
      >   enable_constraint_exclusion
      > * Allow EXPLAIN output to be more easily processed by scripts
      760a763
      > * Allow enable_constraint_exclusion to work for UPDATE and DELETE queries
      90524998
    • Bruce Momjian's avatar
      Add: · 32681629
      Bruce Momjian authored
      <
      > * Allow enable_constraint_exclusion to work for UNIONs like it does for
      >   inheritance
      32681629
    • Bruce Momjian's avatar
      Add: · f9512130
      Bruce Momjian authored
      > * Prevent inherited tables from expanding temporary subtables of other
      >   sessions
      f9512130
    • Bruce Momjian's avatar
      Add: · aa8290be
      Bruce Momjian authored
      > * Add system view to show free space map contents
      884c885
      < 	o Move into the backend code
      > 	o -Move into the backend code
      aa8290be
    • Bruce Momjian's avatar
      Add: · 24df49bd
      Bruce Momjian authored
      > * Allow SELECT ... FOR UPDATE on inherited tables
      24df49bd
    • Bruce Momjian's avatar
      Clarify: · 43e33c51
      Bruce Momjian authored
      < * Add TRUNCATE permission
      > * Add a separate TRUNCATE permission
      43e33c51
    • Bruce Momjian's avatar
      Add: · 3fae29ef
      Bruce Momjian authored
      > * Add TRUNCATE permission
      >
      >   Currently only the owner can TRUNCATE a table because triggers are not
      >   called, and the table is locked in exclusive mode.
      >
      3fae29ef
    • Bruce Momjian's avatar
      Add: · 9ebe05c5
      Bruce Momjian authored
      > * Add PQescapeIdentifier() to libpq
      9ebe05c5
  14. 29 Jul, 2005 2 commits
    • Bruce Momjian's avatar
      Add detail: · f387e061
      Bruce Momjian authored
      >
      > 	   If CRC check fails during recovery, remember the page in case
      > 	   a later CRC for that page properly matches.
      >
      f387e061
    • Bruce Momjian's avatar
      Done: · 5b63e7b4
      Bruce Momjian authored
      < * Consider use of open/fcntl(O_DIRECT) to minimize OS caching,
      <   especially for WAL writes
      > * -Consider use of open/fcntl(O_DIRECT) to minimize OS caching,
      >   for WAL writes
      5b63e7b4
  15. 25 Jul, 2005 1 commit
    • Bruce Momjian's avatar
      Add: · 9ad9e694
      Bruce Momjian authored
      > 	o Allow postgresql.conf file values to be changed via an SQL API
      > 	o Allow the server to be stopped/restarted via an SQL API
      9ad9e694
  16. 21 Jul, 2005 1 commit
    • Bruce Momjian's avatar
      Add: · 0e5c62d0
      Bruce Momjian authored
      <
      > * Research storing disk pages with no alignment/padding
      0e5c62d0
  17. 10 Jul, 2005 1 commit
    • Bruce Momjian's avatar
      Update. · 42e7b0f0
      Bruce Momjian authored
      < 	  computations should adjust based on the time zone rules, e.g.
      < 	  adding 24 hours to a timestamp would yield a different result from
      < 	  adding one day.
      <
      > 	  computations should adjust based on the time zone rules.
      42e7b0f0
  18. 08 Jul, 2005 1 commit
    • Bruce Momjian's avatar
      Done: · a4ffa382
      Bruce Momjian authored
      > * -Prevent dropping user that still owns objects, or auto-drop the objects
      a4ffa382