PostGIS  2.1.10dev-r@@SVN_REVISION@@
def raster2pgsql.quote_sql_value (   value)

SQL OPERATIONS.

Definition at line 287 of file raster2pgsql.py.

Referenced by make_sql_register_overview(), and make_sql_value_array().

287 def quote_sql_value(value):
288  assert value is not None, "None value given"
289 
290  if len(value) > 0 and value[0] != "'" and value[:-1] != "'":
291  sql = "'" + str(value) + "'"
292  else:
293  sql = value
294  return sql
295 
def quote_sql_value(value)
SQL OPERATIONS.

Here is the caller graph for this function: