PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ init_config()

static void init_config ( RTLOADERCFG config)
static

Definition at line 691 of file raster2pgsql.c.

References raster_loader_config::constraints, raster_loader_config::copy_statements, raster_loader_config::endian, raster_loader_config::file_column, raster_loader_config::file_column_name, raster_loader_config::hasnodata, raster_loader_config::idx, raster_loader_config::idx_tablespace, raster_loader_config::maintenance, raster_loader_config::max_extent, raster_loader_config::nband, raster_loader_config::nband_count, raster_loader_config::nodataval, raster_loader_config::opt, raster_loader_config::out_srid, raster_loader_config::outdb, raster_loader_config::overview, raster_loader_config::overview_count, raster_loader_config::overview_table, raster_loader_config::pad_tile, raster_loader_config::quoteident, raster_loader_config::raster_column, raster_loader_config::regular_blocking, raster_loader_config::rt_file, raster_loader_config::rt_file_count, raster_loader_config::rt_filename, raster_loader_config::schema, raster_loader_config::skip_nodataval_check, raster_loader_config::srid, SRID_UNKNOWN, raster_loader_config::table, raster_loader_config::tablespace, raster_loader_config::tile_size, raster_loader_config::transaction, and raster_loader_config::version.

Referenced by main().

691  {
692  config->rt_file_count = 0;
693  config->rt_file = NULL;
694  config->rt_filename = NULL;
695  config->schema = NULL;
696  config->table = NULL;
697  config->raster_column = NULL;
698  config->file_column = 0;
699  config->file_column_name = NULL;
700  config->overview_count = 0;
701  config->overview = NULL;
702  config->overview_table = NULL;
703  config->quoteident = 0;
704  config->srid = config->out_srid = SRID_UNKNOWN;
705  config->nband = NULL;
706  config->nband_count = 0;
707  memset(config->tile_size, 0, sizeof(int) * 2);
708  config->pad_tile = 0;
709  config->outdb = 0;
710  config->opt = 'c';
711  config->idx = 0;
712  config->maintenance = 0;
713  config->constraints = 0;
714  config->max_extent = 1;
715  config->regular_blocking = 0;
716  config->tablespace = NULL;
717  config->idx_tablespace = NULL;
718  config->hasnodata = 0;
719  config->nodataval = 0;
720  config->skip_nodataval_check = 0;
721  config->endian = 1;
722  config->version = 0;
723  config->transaction = 1;
724  config->copy_statements = 0;
725 }
#define SRID_UNKNOWN
Unknown SRID value.
Definition: liblwgeom.h:188
Here is the caller graph for this function: