Re: Chapter "8.8 Geometric Types" of documentation could contain more details

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: skalee@gmail.com
Cc: pgsql-docs@lists.postgresql.org
Date: 2024-07-03T19:45:18Z
Lists: pgsql-docs

Attachments

PG Doc comments form <noreply@postgresql.org> writes:
> Hi, I am writing to suggest a couple of clarifications to "8.8. Geometric
> Types" documentation chapter.

Fair points.  I am not really eager to say explicitly here that the
set of available functions varies for the different types: that seems
pretty self-evident.  But your other ideas are good.

I also noted while looking at this that table 8.20 is flat out wrong
about the storage size of "line" values: they are 24 bytes each not
32.  (This can be confirmed from pg_type.typlen or by looking at
struct LINE in the source code.)

How about the attached?

			regards, tom lane

Commits

  1. Doc: small improvements in discussion of geometric data types.