Definition at line 1168 of file shp2pgsql-gui.c.
 1170         ExecStatusType status;
 
 1173         char *pg_fieldname, *pg_fieldtype;
 
 1177         status = PQresultStatus(
result);
 
 1178         if (status == PGRES_TUPLES_OK)
 
 1180                 ntuples = PQntuples(
result);
 
 1182                 switch (config->
opt)
 
 1206                                         pgui_seterr(
_(
"ERROR: Destination table %s.%s could not be found for appending"), config->
schema, config->
table);
 
 1225                                                 for (j = 0; j < ntuples; j++)
 
 1227                                                         pg_fieldname = PQgetvalue(
result, j, PQfnumber(
result, 
"field"));
 
 1228                                                         pg_fieldtype = PQgetvalue(
result, j, PQfnumber(
result, 
"type"));
 
 1237                                                                         pgui_logf(
_(
"Warning: DBF Field '%s' is not compatible with PostgreSQL column '%s' in %s.%s"), state->
field_names[i], pg_fieldname, config->
schema, config->
table);
 
 1246                                                         pgui_logf(
_(
"Warning: DBF Field '%s' within file %s could not be matched to a column within table %s.%s"),
 
 1260                 pgui_seterr(
_(
"ERROR: unable to process validation response from remote server"));
 
char result[OUT_DOUBLE_BUFFER_SIZE]
void ShpLoaderDestroy(SHPLOADERSTATE *state)
int ShpLoaderOpenShape(SHPLOADERSTATE *state)
SHPLOADERSTATE * ShpLoaderCreate(SHPLOADERCONFIG *config)
static void static void static void static void pgui_seterr(const char *fmt,...) __attribute__((format(printf
static int validate_shape_column_against_pg_column(int dbf_fieldtype, char *pg_fieldtype)
static void static void static void pgui_logf(const char *fmt,...) __attribute__((format(printf
 
References _, shp_loader_state::field_names, shp_loader_state::num_fields, shp_loader_config::opt, pgui_logf(), pgui_seterr(), result, shp_loader_config::schema, shp_loader_config::shp_file, ShpLoaderCreate(), ShpLoaderDestroy(), SHPLOADERERR, SHPLOADEROK, ShpLoaderOpenShape(), SHPLOADERWARN, shp_loader_config::table, shp_loader_state::types, and validate_shape_column_against_pg_column().
Referenced by pgui_action_import().