pgsql: Make path_recv() and poly_recv() reject paths/polygons containing - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Make path_recv() and poly_recv() reject paths/polygons containing
Date
Msg-id 20071218000422.AD01A7540F0@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Make path_recv() and poly_recv() reject paths/polygons containing no points.
The zero-point case is sensible so far as the data structure is concerned,
so maybe we ought to allow it sometime; but right now the textual input
routines for these types don't allow it, and it seems that not all the
functions for the types are prepared to cope.
Report and patch by Merlin Moncure.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        geo_ops.c (r1.91 -> r1.91.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/geo_ops.c?r1=1.91&r2=1.91.2.1)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Make path_recv() and poly_recv() reject paths/polygons containing
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Make path_recv() and poly_recv() reject paths/polygons containing