Commit Graph

1696 Commits

Author SHA1 Message Date
Bruce Momjian bc93b3741d Update:
< 	o Allow ALTER TABLE RENAME CONSTRAINT
> 	o Add ALTER TABLE RENAME CONSTRAINT, update index name also
2005-10-27 14:16:05 +00:00
Bruce Momjian befc607dee Add:
> 	o Have ALTER INDEX update the name of a constraint using that index
> 	o Allow ALTER TABLE RENAME CONSTRAINT
2005-10-27 14:07:29 +00:00
Bruce Momjian 807da29cf3 Add items from Tom:
< 	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
2005-10-27 02:33:31 +00:00
Bruce Momjian 62cfa0f75c Add:
>
> 	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+.
2005-10-25 18:50:56 +00:00
Bruce Momjian 9507b56031 Add:
> * Allow user-defined functions retuning a domain value to enforce domain
>   constraints
2005-10-24 18:08:52 +00:00
Bruce Momjian 249f07b8c6 Update:
> * 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
>
2005-10-13 01:23:49 +00:00
Bruce Momjian adc58f145c Remove item:
< * Prevent libpq's PQfnumber() from lowercasing the column name
<
<   One idea is to lowercase all identifiers except those that are
<   surrounded by quotes.
<
2005-10-12 22:39:35 +00:00
Bruce Momjian 0a28eb4622 No longer needed:
<
< * 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.
2005-10-12 14:06:46 +00:00
Bruce Momjian 4aebb5ad55 Rearrange:
< 	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
2005-10-12 13:41:08 +00:00
Bruce Momjian d5310ca920 Done:
< 	o %Replace crude DELETE FROM method of pg_dumpall --clean for
<           cleaning of roles with separate DROP commands
608a607
>
2005-10-12 13:39:51 +00:00
Bruce Momjian 87a67d186b Add:
<
> 	o Allow pg_dump --clean to drop roles that own objects or have
> 	  privileges
2005-10-12 13:39:21 +00:00
Bruce Momjian 752290207d Add description:
< * 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.
>
2005-10-12 03:26:38 +00:00
Bruce Momjian 368f0b28f3 Add:
> 	o Add options like pg_restore -l and -L to pg_dump
2005-10-12 02:57:42 +00:00
Bruce Momjian e4aa5be90c Add:
> 	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
2005-10-11 23:55:10 +00:00
Bruce Momjian ab13353d31 Update:
< * 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.
2005-10-07 14:04:19 +00:00
Bruce Momjian 02eb6ea9b7 Add:
<
> * Consider compressing indexes by storing key prefix values shared by
>   several rows as a single index entry
2005-10-07 02:43:59 +00:00
Bruce Momjian 6a17577933 Remove, 8.1 completed items already removed:
< * -Have sequence dependency track use of DEFAULT sequences
2005-10-03 00:42:57 +00:00
Bruce Momjian 2aa39a4cb1 Done:
< * Have sequence dependency track use of DEFAULT sequences,
<   seqname.nextval?
> * -Have sequence dependency track use of DEFAULT sequences
2005-10-03 00:42:28 +00:00
Bruce Momjian 455f48ddc5 Done:
< * +Add options to pg_config to show the share_dir, sysconfdir,
<   pkgincludedir, and localedir
2005-09-27 18:04:34 +00:00
Bruce Momjian 451cd7d426 Add:
> 	o Improve signal handling,
> 	  http://archives.postgresql.org/pgsql-patches/2005-06/msg00027.php
2005-09-27 15:18:13 +00:00
Bruce Momjian 240c8e7e43 Novice:
< * Add options to pg_config to show the share_dir, sysconfdir,
> * +Add options to pg_config to show the share_dir, sysconfdir,
2005-09-27 13:39:32 +00:00
Bruce Momjian 3ff1dc501e Done:
< * Allow protocol-level EXECUTE that is actually a fetch to appear
<   in the logs as a fetch rather than another execute
2005-09-26 15:52:35 +00:00
Bruce Momjian 88922598da Add:
> * 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
2005-09-26 02:44:28 +00:00
Bruce Momjian 86044a9d71 Add:
> * Simplify dropping roles that have objects in several databases
2005-09-23 21:55:01 +00:00
Bruce Momjian 6db56cdf80 Add:
> 	o Allow PL/PgSQL to support WITH HOLD cursors
2005-09-23 20:41:39 +00:00
Bruce Momjian bf8e536215 Add:
>
> 	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.
2005-09-23 20:32:49 +00:00
Bruce Momjian e6bae1c3d3 Add:
> * Add function to report the time of the most recent server reload
2005-09-23 03:06:03 +00:00
Bruce Momjian 6e85717a77 Add:
> * Add options to pg_config to show the share_dir, sysconfdir,
>   pkgincludedir, and localedir
>
2005-09-23 03:04:24 +00:00
Bruce Momjian c79671bdbb Add:
> * Allow CREATE INDEX to take an additional parameter for use with
>   special index types
>
2005-09-22 23:54:09 +00:00
Bruce Momjian c37ddf371d Add:
>
> 	  Another idea would be to allow actual SELECT queries in a COPY.
2005-09-22 21:50:59 +00:00
Bruce Momjian 62da04f8e3 Add:
>
> 	o Allow COPY to output from views
>
2005-09-22 16:01:59 +00:00
Bruce Momjian 8d86982a11 Merge items:
<   This would be beneficial when there are few distinct values.
>   This would be beneficial when there are few distinct values.  This is
>   already used by GROUP BY.
946d946
< * Allow DISTINCT to use hashing like GROUP BY
2005-09-20 20:51:30 +00:00
Bruce Momjian a34ec0ab4a Fix typo:
< * Allow WAL traffic to be steamed to another server for stand-by
> * Allow WAL traffic to be streamed to another server for stand-by
2005-09-20 02:21:29 +00:00
Bruce Momjian 7caaf8a022 Add:
> * Allow DISTINCT to use hashing like GROUP BY
2005-09-20 02:16:41 +00:00
Bruce Momjian 32f2cd3f35 Add:
> * Allow WAL traffic to be steamed to another server for stand-by
>   replication
2005-09-20 00:11:00 +00:00
Bruce Momjian 78b06948d0 Remove:
< * Research use of sched_yield() for spinlock acquisition failure
2005-09-19 22:32:32 +00:00
Bruce Momjian 591a29b398 update timestamp on file. 2005-09-19 15:01:28 +00:00
Bruce Momjian 3743f07a53 Add:
>
1032a1034
> * Remove BeOS and QNX-specific code
2005-09-17 12:12:58 +00:00
Bruce Momjian e8960fc34f Add:
> 	o Fix SELECT INTERVAL '1' MONTH
2005-09-16 19:39:25 +00:00
Bruce Momjian d64084daa5 Add:
<
> * Update Bonjour to work with newer cross-platform SDK
2005-09-16 17:37:10 +00:00
Bruce Momjian 0296606f78 Update wording:
<
390d388
<
453c451
< 	  removed or have its heap and index files truncated.  One
> 	  be removed or have its heap and index files truncated.  One
< * Use a phantom command counter for nested subtransactions to reduce
<   per-tuple overhead
2005-09-16 16:46:09 +00:00
Bruce Momjian 3f558e3dae Add:
> 	o Add single-step debugging of PL/PgSQL functions
2005-09-16 11:24:02 +00:00
Bruce Momjian b72fe49b9c Add idea:
<   cmin/cmax pair and is stored in local memory.
>   cmin/cmax pair and is stored in local memory.  Another idea is to
>   store both cmin and cmax only in local memory.
2005-09-03 00:41:30 +00:00
Bruce Momjian 264cd5f04a Update.
< 	  have its heap and index files truncated.  One issue is
< 	  that no other backend should be able to add to the table
< 	  at the same time, which is something that is currently
< 	  allowed.
> 	  removed or have its heap and index files truncated.  One
> 	  issue is that no other backend should be able to add to
> 	  the table at the same time, which is something that is
> 	  currently allowed.
2005-09-02 21:23:05 +00:00
Bruce Momjian ef6d5b4e25 Update:
> 	o Allow COPY on a newly-created table to skip WAL logging
450a452,456
> 	  On crash recovery, the table involved in the COPY would
> 	  have its heap and index files truncated.  One issue is
> 	  that no other backend should be able to add to the table
> 	  at the same time, which is something that is currently
> 	  allowed.
2005-09-02 21:10:59 +00:00
Bruce Momjian f8ec875c39 Update:
< 	o Allow COPY into an empty table to skip WAL logging
> 	o Allow COPY into an new table to skip WAL logging
2005-09-02 21:01:20 +00:00
Bruce Momjian 5bddded69c Add:
> * Use UTF8 encoding for NLS messages so all server encodings can
>   read them properly
<         o %Add support for Unicode
<
< 	  To fix this, the data needs to be converted to/from UTF16/UTF8
<           so the Win32 wcscoll() can be used, and perhaps other functions
< 	  like towupper().  However, UTF8 already works with normal
< 	  locales but provides no ordering or character set classes.
2005-09-02 20:11:34 +00:00
Bruce Momjian 3bea1a353f Update wording:
<   could only see committed rows from another transaction. However,
>   could only see rows from another completed transaction. However,
981c981
<   proper visibility of the row, for example, for cursors.
>   proper visibility of the row's cmin, for example, for cursors.
2005-09-02 19:51:37 +00:00
Bruce Momjian da08559e9b Add:
> 	o Allow COPY into an empty table to skip WAL logging
2005-09-02 19:39:15 +00:00
Bruce Momjian fad7e8edac Add text:
* Merge xmin/xmax/cmin/cmax back into three header fields

  Before subtransactions, there used to be only three fields needed to
  store these four values. This was possible because only the current
  transaction looks at the cmin/cmax values. If the current transaction
  created and expired the row the fields stored where xmin (same as
  xmax), cmin, cmax, and if the transaction was expiring a row from a
  another transaction, the fields stored were xmin (cmin was not
  needed), xmax, and cmax. Such a system worked because a transaction
  could only see committed rows from another transaction. However,
  subtransactions can see rows from outer transactions, and once the
  subtransaction completes, the outer transaction continues, requiring
  the storage of all four fields. With subtransactions, an outer
  transaction can create a row, a subtransaction expire it, and when the
  subtransaction completes, the outer transaction still has to have
  proper visibility of the row, for example, for cursors.

  One possible solution is to create a phantom cid which represents a
  cmin/cmax pair and is stored in local memory.
2005-09-02 15:22:44 +00:00