[postgis-commits] svn - r2762 - trunk/loader
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Thu Apr 10 07:44:26 PDT 2008
Author: pramsey
Date: 2008-04-10 07:44:26 -0700 (Thu, 10 Apr 2008)
New Revision: 2762
Modified:
trunk/loader/pgsql2shp.c
Log:
Reduce FTDate field size to 8 bytes from 10. Matches other calls in the file
now, no good explanation in code why it was 10 to start with.
http://postgis.refractions.net/pipermail/postgis-users/2008-April/019169.html
Modified: trunk/loader/pgsql2shp.c
===================================================================
--- trunk/loader/pgsql2shp.c 2008-04-10 06:40:33 UTC (rev 2761)
+++ trunk/loader/pgsql2shp.c 2008-04-10 14:44:26 UTC (rev 2762)
@@ -2727,13 +2727,12 @@
}
/*
- * Date field, which we store as a string so we need
- * more width in the column
+ * Date field
*/
if(type == 1082)
{
if ( DBFAddField(dbf, field_name, FTDate,
- 10, 0) == -1 )
+ 8, 0) == -1 )
{
printf( "Error - Date field could not "
"be created.\n");
More information about the postgis-commits
mailing list