Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5c9a46f

Browse files
committed
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)'.
1 parent97e1535 commit5c9a46f

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

‎doc/TODO

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
PostgreSQL TODO List
33
====================
44
Current maintainer:Bruce Momjian (pgman@candle.pha.pa.us)
5-
Last updated:Thu Dec22 18:05:31 EST 2005
5+
Last updated:Mon Dec26 00:14:46 EST 2005
66

77
The most recent version of this document can be viewed at
88
http://www.postgresql.org/docs/faqs.TODO.html.
@@ -391,6 +391,11 @@ SQL Commands
391391
* %Add COMMENT ON for all cluster global objects (roles, databases
392392
and tablespaces)
393393
* %Make row-wise comparisons work per SQL spec
394+
395+
Right now, '(a, b) < (1, 2)' is processed as 'a < 1 and b < 2', but
396+
the SQL standard requires it to be processed as a column-by-column
397+
comparison, so the proper comparison is '(a < 1) OR (a = 1 AND b < 2)'.
398+
394399
* Add RESET CONNECTION command to reset all session state
395400

396401
This would include resetting of all variables (RESET ALL), dropping of

‎doc/src/FAQ/TODO.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<bodybgcolor="#FFFFFF"text="#000000"link="#FF0000"vlink="#A00000"alink="#0000FF">
99
<h1><aname="section_1">PostgreSQL TODO List</a></h1>
1010
<p>Current maintainer: Bruce Momjian (<ahref="mailto:pgman@candle.pha.pa.us">pgman@candle.pha.pa.us</a>)<br/>
11-
Last updated:Thu Dec22 18:05:31 EST 2005
11+
Last updated:Mon Dec26 00:14:46 EST 2005
1212
</p>
1313
<p>The most recent version of this document can be viewed at<br/>
1414
<ahref="http://www.postgresql.org/docs/faqs.TODO.html">http://www.postgresql.org/docs/faqs.TODO.html</a>.
@@ -359,6 +359,10 @@ <h1><a name="section_8">SQL Commands</a></h1>
359359
</li><li>%Add COMMENT ON for all cluster global objects (roles, databases
360360
and tablespaces)
361361
</li><li>%Make row-wise comparisons work per SQL spec
362+
<p> Right now, '(a, b) &lt; (1, 2)' is processed as 'a &lt; 1 and b &lt; 2', but
363+
the SQL standard requires it to be processed as a column-by-column
364+
comparison, so the proper comparison is '(a &lt; 1) OR (a = 1 AND b &lt; 2)'.
365+
</p>
362366
</li><li>Add RESET CONNECTION command to reset all session state
363367
<p> This would include resetting of all variables (RESET ALL), dropping of
364368
temporary tables, removing any NOTIFYs, cursors, open transactions,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp