8000 Doc: fix examples of # operators so they actually work. · paul-guo-/postgres@f83b72e · GitHub
[go: up one dir, main page]

Skip to content

Commit f83b72e

Browse files
committed
Doc: fix examples of # operators so they actually work.
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.1517.75670@wrigleys.postgresql.org>
1 parent 0183df5 commit f83b72e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/func.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7594,12 +7594,12 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
75947594
<row>
75957595
<entry> <literal>#</literal> </entry>
75967596
<entry>Point or box of intersection</entry>
7597-
<entry><literal>'((1,-1),(-1,1))' # '((1,1),(-1,-1))'</literal></entry>
7597+
<entry><literal>box '((1,-1),(-1,1))' # box '((1,1),(-2,-2))'</literal></entry>
75987598
</row>
75997599
<row>
76007600
<entry> <literal>#</literal> </entry>
76017601
<entry>Number of points in path or polygon</entry>
7602-
<entry><literal># '((1,0),(0,1),(-1,0))'</literal></entry>
7602+
<entry><literal># path '((1,0),(0,1),(-1,0))'</literal></entry>
76037603
</row>
76047604
<row>
76057605
<entry> <literal>@-@</literal> </entry>

0 commit comments

Comments
 (0)
0