Thread: BUG #5536: Disputing output for some Geometric types
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) ].
"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