PostGIS
3.0.6dev-r@@SVN_REVISION@@
|
int ShpLoaderGetSQLCopyStatement | ( | SHPLOADERSTATE * | state, |
char ** | strheader | ||
) |
if we need to transform we copy into temp table instead of main table first
Definition at line 1492 of file shp2pgsql-core.c.
References _, shp_loader_state::col_names, shp_loader_state::config, shp_loader_config::dump_format, shp_loader_state::from_srid, malloc(), shp_loader_state::message, shp_loader_config::schema, SHPLOADERERR, SHPLOADERMSGLEN, SHPLOADEROK, stringbuffer_aprintf(), stringbuffer_clear(), stringbuffer_create(), stringbuffer_destroy(), stringbuffer_getstring(), shp_loader_config::table, and shp_loader_state::to_srid.
Referenced by pgui_action_import().