BUG #5536: Disputing output for some Geometric types

Started by Jon Straitalmost 16 years ago2 messagesbugs
Jump to latest
#1Jon Strait
jstrait@moonloop.net

The following bug has been logged online:

Bug reference: 5536
Logged by: Jon Strait
Email address: jstrait@moonloop.net
PostgreSQL version: 8.4.4
Operating system: Linux
Description: Disputing output for some Geometric types
Details:

Refering to Documentation section 8.8 (Geometric Types), Boxes are supposed
to be output with the format of the first syntax listed, ( (x1, y1), (x2,
y2) ), but the output is showing the format of the second syntax, (x1, y1),
(x2, y2). Line Segments are being output in a format that is not mentioned
in the documentation for Line Segments, [ (x1, y1), (x2, y2) ].

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Jon Strait (#1)
Re: BUG #5536: Disputing output for some Geometric types

"Jon Strait" <jstrait@moonloop.net> writes:

Refering to Documentation section 8.8 (Geometric Types), Boxes are supposed
to be output with the format of the first syntax listed, ( (x1, y1), (x2,
y2) ), but the output is showing the format of the second syntax, (x1, y1),
(x2, y2). Line Segments are being output in a format that is not mentioned
in the documentation for Line Segments, [ (x1, y1), (x2, y2) ].

Yeah, this documentation seems to be a bit off from the actual behavior
of the code. I've adjusted the docs.

regards, tom lane