PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ make_sql_create_gist()

def raster2pgsql.make_sql_create_gist (   table,
  column 
)

Definition at line 372 of file raster2pgsql.py.

References logit(), make_sql_full_table_name(), and make_sql_table_name().

Referenced by main().

372 def make_sql_create_gist(table, column):
373  gist_table = make_sql_table_name(table)
374  target_table = make_sql_full_table_name(table)
375  logit("MSG: Create GiST spatial index on %s\n" % gist_table)
376 
377  sql = "CREATE INDEX \"%s_%s_gist_idx\" ON %s USING GIST (st_convexhull(%s));\n" % \
378  (gist_table, column, target_table, column)
379  logit("SQL: %s" % sql)
380  return sql;
381 
382 
def make_sql_full_table_name(schema_table)
def make_sql_table_name(schema_table)
def logit(msg)
def make_sql_create_gist(table, column)
Here is the call graph for this function:
Here is the caller graph for this function: