pgsql: Make path_recv() and poly_recv() reject paths/polygons containing

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Make path_recv() and poly_recv() reject paths/polygons containing
Date: 2007-12-18 00:04:22
Message-ID: 20071218000422.AD01A7540F0@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-12-18 00:04:29 pgsql: Make path_recv() and poly_recv() reject paths/polygons containing
Previous Message Tom Lane 2007-12-18 00:04:16 pgsql: Make path_recv() and poly_recv() reject paths/polygons containing