mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-25 01:22:47 +00:00
Updated the loader to create the index after the data has been loaded.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2667 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
c70a144dbd
commit
369b892a5a
|
@ -422,16 +422,16 @@ main (int ARGC, char **ARGV)
|
|||
*/
|
||||
if(opt != 'a') CreateTable();
|
||||
|
||||
/*
|
||||
* Create GiST index if requested
|
||||
*/
|
||||
if(createindex) CreateIndex();
|
||||
|
||||
/*
|
||||
* Generate INSERT or COPY lines
|
||||
*/
|
||||
if(opt != 'p') LoadData();
|
||||
|
||||
/*
|
||||
* Create GiST index if requested
|
||||
*/
|
||||
if(createindex) CreateIndex();
|
||||
|
||||
printf("END;\n"); /* End the last transaction */
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue