Missing type in example

Started by Jozef Pažinover 9 years ago2 messagesdocs
Jump to latest
#1Jozef Pažin
atiris@gmail.com

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.4/static/functions-geometry.html
Description:

Hi. You can not select '((1,-1),(-1,1))' # '((1,1),(-1,-1))' without any
type to see example for operator #. In both samples you need also types,
like:

box '((1,-1),(-1,1))' # box '((1,1),(-1,-1))'

# path '((1,0),(0,1),(-1,0))'

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Jozef Pažin (#1)
Re: Missing type in example

atiris@gmail.com writes:

The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/9.4/static/functions-geometry.html
Description:

Hi. You can not select '((1,-1),(-1,1))' # '((1,1),(-1,-1))' without any
type to see example for operator #. In both samples you need also types,
like:

box '((1,-1),(-1,1))' # box '((1,1),(-1,-1))'

# path '((1,0),(0,1),(-1,0))'

Hmm, you're right. It appears that these examples worked when written,
but that was a long time ago when we had fewer operators named "#".
Thanks for the report!

regards, tom lane

--
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs