From 5c9a46f6053a7d2b7ceb3688d665be1c27acbb15 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 26 Dec 2005 05:14:52 +0000 Subject: [PATCH] Add: * %Make row-wise comparisons work per SQL spec Right now, '(a, b) < (1, 2)' is processed as 'a < 1 and b < 2', but the SQL standard requires it to be processed as a column-by-column comparison, so the proper comparison is '(a < 1) OR (a = 1 AND b < 2)'. --- doc/TODO | 7 ++++++- doc/src/FAQ/TODO.html | 6 +++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/doc/TODO b/doc/TODO index 8251a96f48..b27edd9f20 100644 --- a/doc/TODO +++ b/doc/TODO @@ -2,7 +2,7 @@ PostgreSQL TODO List ==================== Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us) -Last updated: Thu Dec 22 18:05:31 EST 2005 +Last updated: Mon Dec 26 00:14:46 EST 2005 The most recent version of this document can be viewed at http://www.postgresql.org/docs/faqs.TODO.html. @@ -391,6 +391,11 @@ SQL Commands * %Add COMMENT ON for all cluster global objects (roles, databases and tablespaces) * %Make row-wise comparisons work per SQL spec + + Right now, '(a, b) < (1, 2)' is processed as 'a < 1 and b < 2', but + the SQL standard requires it to be processed as a column-by-column + comparison, so the proper comparison is '(a < 1) OR (a = 1 AND b < 2)'. + * Add RESET CONNECTION command to reset all session state This would include resetting of all variables (RESET ALL), dropping of diff --git a/doc/src/FAQ/TODO.html b/doc/src/FAQ/TODO.html index 8c358ea801..74f71f5fc6 100644 --- a/doc/src/FAQ/TODO.html +++ b/doc/src/FAQ/TODO.html @@ -8,7 +8,7 @@

PostgreSQL TODO List

Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
-Last updated: Thu Dec 22 18:05:31 EST 2005 +Last updated: Mon Dec 26 00:14:46 EST 2005

The most recent version of this document can be viewed at
http://www.postgresql.org/docs/faqs.TODO.html. @@ -359,6 +359,10 @@ first.

  • %Add COMMENT ON for all cluster global objects (roles, databases and tablespaces)
  • %Make row-wise comparisons work per SQL spec +

    Right now, '(a, b) < (1, 2)' is processed as 'a < 1 and b < 2', but + the SQL standard requires it to be processed as a column-by-column + comparison, so the proper comparison is '(a < 1) OR (a = 1 AND b < 2)'. +

  • Add RESET CONNECTION command to reset all session state

    This would include resetting of all variables (RESET ALL), dropping of temporary tables, removing any NOTIFYs, cursors, open transactions,