projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e02476
)
Doc: fix examples of # operators so they actually work.
author
Tom Lane
Fri, 23 Sep 2016 18:22:07 +0000
(14:22 -0400)
committer
Tom Lane
Fri, 23 Sep 2016 18:22:13 +0000
(14:22 -0400)
These worked as-is until around 7.0, but fail in newer versions because
there are more operators named "#". Besides it's a bit inconsistent that
only two of the examples on this page lack type names on their constants.
Report: <
20160923081530
[email protected]
>
doc/src/sgml/func.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/func.sgml
b/doc/src/sgml/func.sgml
index 7e72f88d3edb89957345b15e9aa743e893fe4418..dabcd3e7de0d7874bc6a07d22d4f0806466ac34b 100644
(file)
--- a/
doc/src/sgml/func.sgml
+++ b/
doc/src/sgml/func.sgml
@@
-8302,12
+8302,12
@@
CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
#
Point or box of intersection
-
'((1,-1),(-1,1))' # '((1,1),(-1,-1
))'
+
box '((1,-1),(-1,1))' # box '((1,1),(-2,-2
))'
#
Number of points in path or polygon
-
# '((1,0),(0,1),(-1,0))'
+
#
path
'((1,0),(0,1),(-1,0))'
@-@