PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ init_config()

static void init_config ( RTLOADERCFG config)
static

Definition at line 694 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().

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