projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf21cdb
)
Add some minimal documentation that the SQL standard requires parentheses
author
Peter Eisentraut
Mon, 12 Jan 2009 14:06:20 +0000
(14:06 +0000)
committer
Peter Eisentraut
Mon, 12 Jan 2009 14:06:20 +0000
(14:06 +0000)
after ONLY.
doc/src/sgml/ref/select.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/ref/select.sgml
b/doc/src/sgml/ref/select.sgml
index 0a19f894e7024b6cc86a0f13902c9afb4adb819d..ba14437764f9cb07b2051ab6c674163d159f4136 100644
(file)
--- a/
doc/src/sgml/ref/select.sgml
+++ b/
doc/src/sgml/ref/select.sgml
@@
-1,5
+1,5
@@
@@
-1457,6
+1457,19
@@
SELECT distributors.* WHERE distributors.name = 'Westward';
+
+
ONLY
and Parentheses
+
+
+ The SQL standard requires parentheses around the table name
+ after
ONLY
, as in
SELECT * FROM ONLY
+ (tab1), ONLY (tab2) WHERE .... PostgreSQL supports that
+ as well, but the parentheses are optional. (This point applies
+ equally to all SQL commands supporting the
ONLY
+ option.)
+
+
+
Namespace Available to
GROUP BY
and
ORDER BY