PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ make_sql_create_raster_overviews()

def raster2pgsql.make_sql_create_raster_overviews (   options)

Definition at line 435 of file raster2pgsql.py.

References make_sql_full_table_name(), and make_sql_schema_table_names().

Referenced by main().

436  schema = make_sql_schema_table_names(options.table)[0]
437  table = make_sql_full_table_name(schema + '.raster_overviews')
438  sql = 'CREATE TABLE ' + table + ' ( ' \
439  'o_table_catalog character varying(256) NOT NULL, ' \
440  'o_table_schema character varying(256) NOT NULL, ' \
441  'o_table_name character varying(256) NOT NULL, ' \
442  'o_column character varying(256) NOT NULL, ' \
443  'r_table_catalog character varying(256) NOT NULL, ' \
444  'r_table_schema character varying(256) NOT NULL, ' \
445  'r_table_name character varying(256) NOT NULL, ' \
446  'r_column character varying(256) NOT NULL, ' \
447  'out_db boolean NOT NULL, ' \
448  'overview_factor integer NOT NULL, ' \
449  'CONSTRAINT raster_overviews_pk ' \
450  'PRIMARY KEY (o_table_catalog, o_table_schema, o_table_name, o_column, overview_factor));\n'
451 
452  return sql
453 
454 
def make_sql_full_table_name(schema_table)
def make_sql_create_raster_overviews(options)
def make_sql_schema_table_names(schema_table)
Here is the call graph for this function:
Here is the caller graph for this function: