Ticket #1345 (closed defect: fixed)
ST_StartPoint, ST_EndPoint regress failure
|Reported by:||robe||Owned by:||pramsey|
I just noticed (by accident of course when testing my cross street logic) and I forgot my data is multilinestrings (though most are just single linestrings inside a multi wrapper).
This works on my 1.5 install:
SELECT ST_AsText(ST_StartPoint('MULTILINESTRING((1 2, 3 4))'::geometry) ); --returns -- POINT(1 2)
This works on my 2.0 install:
SELECT ST_AsText(ST_StartPoint('MULTILINESTRING((1 2, 3 4))'::geometry) ); --returns -- NULL
If this is an intentional change, it needs to be documented since it stands to break a lot of applications.