Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5a7bae0

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 12f6ead commit 5a7bae0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/func.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8365,12 +8365,12 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
83658365
<row>
83668366
<entry> <literal>#</literal> </entry>
83678367
<entry>Point or box of intersection</entry>
8368-
<entry><literal>'((1,-1),(-1,1))' # '((1,1),(-1,-1))'</literal></entry>
8368+
<entry><literal>box '((1,-1),(-1,1))' # box '((1,1),(-2,-2))'</literal></entry>
83698369
</row>
83708370
<row>
83718371
<entry> <literal>#</literal> </entry>
83728372
<entry>Number of points in path or polygon</entry>
8373-
<entry><literal># '((1,0),(0,1),(-1,0))'</literal></entry>
8373+
<entry><literal># path '((1,0),(0,1),(-1,0))'</literal></entry>
83748374
</row>
83758375
<row>
83768376
<entry> <literal>@-@</literal> </entry>

0 commit comments

Comments
 (0)