PostGIS  2.1.10dev-r@@SVN_REVISION@@
def raster2pgsql.make_sql_create_raster_overviews (   options)

Definition at line 437 of file raster2pgsql.py.

References make_sql_full_table_name(), and make_sql_schema_table_names().

Referenced by main().

438  schema = make_sql_schema_table_names(options.table)[0]
439  table = make_sql_full_table_name(schema + '.raster_overviews')
440  sql = 'CREATE TABLE ' + table + ' ( ' \
441  'o_table_catalog character varying(256) NOT NULL, ' \
442  'o_table_schema character varying(256) NOT NULL, ' \
443  'o_table_name character varying(256) NOT NULL, ' \
444  'o_column character varying(256) NOT NULL, ' \
445  'r_table_catalog character varying(256) NOT NULL, ' \
446  'r_table_schema character varying(256) NOT NULL, ' \
447  'r_table_name character varying(256) NOT NULL, ' \
448  'r_column character varying(256) NOT NULL, ' \
449  'out_db boolean NOT NULL, ' \
450  'overview_factor integer NOT NULL, ' \
451  'CONSTRAINT raster_overviews_pk ' \
452  'PRIMARY KEY (o_table_catalog, o_table_schema, o_table_name, o_column, overview_factor));\n'
453 
454  return sql
455 
456 
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: