]> granicus.if.org Git - postgis/commitdiff
Switch shp2pgsql-gui to COPY mode by default for increased speed; the user doesn...
authorMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Tue, 10 Jan 2012 12:28:36 +0000 (12:28 +0000)
committerMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Tue, 10 Jan 2012 12:28:36 +0000 (12:28 +0000)
what form the output takes when it's being loaded into the database directly rather than via
a file.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8745 b70326c6-7e19-0410-871a-916f4a2858ee

loader/shp2pgsql-gui.c

index 5eca16013101f9cd27a2ad0e3c9fbaf4d85c5d26..6f9874acfb21423fffed3f14e52a2908ac2ea5d1 100644 (file)
@@ -2273,6 +2273,7 @@ main(int argc, char *argv[])
        /* Here we override any defaults for the GUI */
        global_loader_config->createindex = 1;
        global_loader_config->geo_col = strdup(GEOMETRY_DEFAULT);
+       global_loader_config->dump_format = 1;
        
        conn = malloc(sizeof(SHPCONNECTIONCONFIG));
        memset(conn, 0, sizeof(SHPCONNECTIONCONFIG));