PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ make_sql_drop_raster_table()

def raster2pgsql.make_sql_drop_raster_table (   table)

Definition at line 340 of file raster2pgsql.py.

References logit(), and make_sql_schema_table_names().

Referenced by main().

340 def make_sql_drop_raster_table(table):
341  st = make_sql_schema_table_names(table)
342 
343  if len(st[0]) == 0:
344  target = "'', '%s'" % st[1]
345  else:
346  target = "'%s', '%s'" % (st[0], st[1])
347  sql = "SELECT DropRasterTable(%s);\n" % target
348  logit("SQL: %s" % sql)
349  return sql
350 
351 
def make_sql_drop_raster_table(table)
def logit(msg)
def make_sql_schema_table_names(schema_table)
Here is the call graph for this function:
Here is the caller graph for this function: