diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index 2e637c36eb..e6b975dfd0 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -3264,7 +3264,7 @@ SELECT person.name, holidays.num_weeks FROM person, holidays line - 32 bytes + 24 bytes Infinite line {A,B,C} @@ -3308,6 +3308,11 @@ SELECT person.name, holidays.num_weeks FROM person, holidays + + In all these types, the individual coordinates are stored as + double precision (float8) numbers. + + A rich set of functions and operators is available to perform various geometric operations such as scaling, translation, rotation, and determining @@ -3497,8 +3502,17 @@ SELECT person.name, holidays.num_weeks FROM person, holidays Polygons are represented by lists of points (the vertexes of the - polygon). Polygons are very similar to closed paths, but are - stored differently and have their own set of support routines. + polygon). Polygons are very similar to closed paths; the essential + semantic difference is that a polygon is considered to include the + area within it, while a path is not. + + + + An important implementation difference between polygons and + paths is that the stored representation of a polygon includes its + smallest bounding box. This speeds up certain search operations, + although computing the bounding box adds overhead while constructing + new polygons.