From 37e2d3b3fa746ace20e1b14b62a5f65ced33d927 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 10 Mar 2004 17:23:56 +0000 Subject: [PATCH] code cleanup, fixed a bug missing to transform 'gid' to 'gid__2' in shapefile attribute name git-svn-id: http://svn.osgeo.org/postgis/trunk@483 b70326c6-7e19-0410-871a-916f4a2858ee --- loader/shp2pgsql.c | 58 +++++++++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 26 deletions(-) diff --git a/loader/shp2pgsql.c b/loader/shp2pgsql.c index e3194da87..ab7997fc8 100644 --- a/loader/shp2pgsql.c +++ b/loader/shp2pgsql.c @@ -12,6 +12,9 @@ * ********************************************************************** * $Log$ + * Revision 1.51 2004/03/10 17:23:56 strk + * code cleanup, fixed a bug missing to transform 'gid' to 'gid__2' in shapefile attribute name + * * Revision 1.50 2004/03/06 17:43:06 strk * Added RCSID string in usage output * @@ -755,15 +758,25 @@ int main (int ARGC, char **ARGV){ strcpy(col_names, "(" ); } - for(j=0;jpachFieldType[j] == 'D' ) /* Date field */ { -- 2.50.1