Skip site navigation (1) Skip section navigation (2)

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:37
Message-ID: 20071218000437.5BCDB7540F0@cvs.postgresql.org (view raw or flat)
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:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        geo_ops.c (r1.82.2.1 -> r1.82.2.2)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/geo_ops.c?r1=1.82.2.1&r2=1.82.2.2)

pgsql-committers by date

Next:From: Tom LaneDate: 2007-12-18 00:49:34
Subject: pgsql: Make archiver process report its progress in PS display.
Previous:From: Tom LaneDate: 2007-12-18 00:04:29
Subject: pgsql: Make path_recv() and poly_recv() reject paths/polygons containing

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group