diff options
author | Tom Lane | 2016-09-23 18:22:07 +0000 |
---|---|---|
committer | Tom Lane | 2016-09-23 18:22:34 +0000 |
commit | f83b72ea4a4a6d02e7d2b26a26973439b741172a (patch) | |
tree | 303432faf81f2e4b382a74a7751a5bd4488fb821 | |
parent | 0183df5dc000fccf121c1a54504044578e43ec8e (diff) |
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: <[email protected]>
-rw-r--r-- | doc/src/sgml/func.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index c097e8056cd..e1eac2abda0 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -7594,12 +7594,12 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple <row> <entry> <literal>#</literal> </entry> <entry>Point or box of intersection</entry> - <entry><literal>'((1,-1),(-1,1))' # '((1,1),(-1,-1))'</literal></entry> + <entry><literal>box '((1,-1),(-1,1))' # box '((1,1),(-2,-2))'</literal></entry> </row> <row> <entry> <literal>#</literal> </entry> <entry>Number of points in path or polygon</entry> - <entry><literal># '((1,0),(0,1),(-1,0))'</literal></entry> + <entry><literal># path '((1,0),(0,1),(-1,0))'</literal></entry> </row> <row> <entry> <literal>@-@</literal> </entry> |