]> granicus.if.org Git - postgis/commitdiff
Handle odd ArcMap scinotation for large ints. (#38)
authorPaul Ramsey <pramsey@cleverelephant.ca>
Sun, 15 Nov 2009 19:52:40 +0000 (19:52 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Sun, 15 Nov 2009 19:52:40 +0000 (19:52 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4816 b70326c6-7e19-0410-871a-916f4a2858ee

loader/shp2pgsql-core.c
loader/shp2pgsql.c

index 1c936a764c18b7e4fef75ed1aae5c58f85a885e6..be590d055aab28466a2694942261e1858f9784d8 100644 (file)
@@ -666,10 +666,6 @@ CreateTable(void)
                        {
                                stringbuffer_append (sb_row, "int4");
                        }
-                       else if  ( field_width < 19 )
-                       {
-                               stringbuffer_append (sb_row, "int8");
-                       }
                        else
                        {
                                stringbuffer_aprintf (sb_row, "numeric(%d,0)", field_width);
index 17ac056281527194c984715bfe88247568d55312..16a3baf444c7937857323ead4e925693fe6a83db 100644 (file)
@@ -582,10 +582,6 @@ CreateTable(void)
                        {
                                printf ("int4");
                        }
-                       else if  ( field_width < 19 )
-                       {
-                               printf ("int8");
-                       }
                        else
                        {
                                printf("numeric(%d,0)",