Opened 3 days ago

Closed 3 days ago

Last modified 33 hours ago

#5876 closed defect (fixed)

ST_AddPoint with empty point adds junk point

Reported by: pramsey Owned by: pramsey
Priority: medium Milestone: PostGIS 3.5.3
Component: postgis Version: master
Keywords: Cc:

Description

select st_astext(st_addpoint(st_geomfromtext('linestring (1 1, 2 2)'), st_geomfromtext('point empty')));

Change History (8)

comment:1 by pramsey, 3 days ago

In general the getPoint4d_p function needs to lwerror out of all cases where it cannot successfully complete an access.

comment:2 by Paul Ramsey <pramsey@…>, 3 days ago

In 9024a37/git:

Fix ST_AddPoint with empty point argument
References #5876

comment:3 by Paul Ramsey <pramsey@…>, 3 days ago

In 5932f54/git:

Fix ST_AddPoint with empty point argument
References #5876

comment:4 by Paul Ramsey <pramsey@…>, 3 days ago

In d7512e5/git:

Fix ST_AddPoint with empty point argument
References #5876

comment:5 by Paul Ramsey <pramsey@…>, 3 days ago

In 310a06e/git:

Fix ST_AddPoint with empty point argument
References #5876

comment:6 by pramsey, 3 days ago

Resolution: fixed
Status: newclosed

comment:7 by Paul Ramsey <pramsey@…>, 3 days ago

In 94186341/git:

Fix ST_AddPoint with empty point argument
References #5876

comment:8 by Paul Ramsey <pramsey@…>, 33 hours ago

In 4682e8c/git:

Fix ST_AddPoint with empty point argument, references #5876

Note: See TracTickets for help on using tickets.