[postgis-users] [PATCH] Fix pgsql2shp for timestamps

Steffen Macke sdteffen at web.de
Wed Jun 16 09:14:55 PDT 2004


> I've committed both your patch and a fix to getMaxFieldSize for
> schema support. Still please let me know if the octet_length()
> function gives wrong result for timestamp or any other field type.

Thanks!

getMaxFieldSize() is not called because size is set to 8 in
the timestamp case (at line 2453 of pgsql2shp.c):

size = atoi(PQgetvalue(res, i, 2));

Steffen



More information about the postgis-users mailing list