[postgis-devel] [PostGIS] #1320: typmod geometry type not changing in before trigger
PostGIS
trac at osgeo.org
Thu Dec 15 15:29:51 PST 2011
#1320: typmod geometry type not changing in before trigger
-----------------------+----------------------------------------------------
Reporter: robe | Owner: strk
Type: defect | Status: closed
Priority: critical | Milestone: PostGIS 2.0.0
Component: postgis | Version: trunk
Resolution: fixed | Keywords:
-----------------------+----------------------------------------------------
Changes (by strk):
* status: assigned => closed
* resolution: => fixed
Comment:
r8431 fixes this case.
I've found the culprit for calls to LWGEOM_in w/out 3rd argument:
{{{
lwgeom_inout.c:450: result = DirectFunctionCall1(LWGEOM_in,
CStringGetDatum(wkt));
}}}
which is Datum parse_WKT_lwgeom(PG_FUNCTION_ARGS)
It would be hard to get a similar situation for geography, anyway better
safe than sorry, so the geography_in support for such calls is in r8432
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1320#comment:7>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list