PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ set_dumper_config_defaults()

void set_dumper_config_defaults ( SHPDUMPERCONFIG config)

Definition at line 1142 of file pgsql2shp-core.c.

References shp_dumper_config::binary, shp_dumper_config::column_map_filename, shp_dumper_config::conn, shp_connection_state::database, shp_dumper_config::dswitchprovided, shp_dumper_config::fetchsize, shp_dumper_config::geo_col_name, shp_connection_state::host, shp_dumper_config::includegid, shp_dumper_config::keep_fieldname_case, malloc(), shp_connection_state::password, shp_connection_state::port, shp_dumper_config::schema, shp_dumper_config::shp_file, shp_dumper_config::table, shp_dumper_config::unescapedattrs, shp_connection_state::username, and shp_dumper_config::usrquery.

Referenced by main(), and test_ShpDumperCreate().

1143 {
1144  config->conn = malloc(sizeof(SHPCONNECTIONCONFIG));
1145  config->conn->host = NULL;
1146  config->conn->port = NULL;
1147  config->conn->database = NULL;
1148  config->conn->username = NULL;
1149  config->conn->password = NULL;
1150 
1151  config->table = NULL;
1152  config->schema = NULL;
1153  config->usrquery = NULL;
1154  config->binary = 0;
1155  config->shp_file = NULL;
1156  config->dswitchprovided = 0;
1157  config->includegid = 0;
1158  config->unescapedattrs = 0;
1159  config->geo_col_name = NULL;
1160  config->keep_fieldname_case = 0;
1161  config->fetchsize = 100;
1162  config->column_map_filename = NULL;
1163 }
char * column_map_filename
SHPCONNECTIONCONFIG * conn
void * malloc(YYSIZE_T)
Here is the call graph for this function:
Here is the caller graph for this function: