git-svn-id: http://svn.osgeo.org/postgis/branches/pgis_1_0@1819
b70326c6-7e19-0410-871a-
916f4a2858ee
????/??/??
- Bugfix in dumper handling of user-defined queries
- Bugfix in create_undef.pl script
+ - Small performance improvement in canonical input function
PostGIS 1.0.2
2005/07/04
Datum LWGEOM_in(PG_FUNCTION_ARGS)
{
char *str = PG_GETARG_CSTRING(0);
- char *semicolonLoc,start;
PG_LWGEOM *ret;
- //determine if its WKB or WKT
-
- semicolonLoc = strchr(str,';');
- if (semicolonLoc == NULL)
- {
- start=str[0];
- }
- else
- {
- start=semicolonLoc[1]; // one in
- }
-
// will handle both EWKB and EWKT
ret = (PG_LWGEOM *)parse_lwgeom_wkt(str);