pirogue.information_schema

Functions

columns(pg_cur, table_schema, table_name[, ...])

Returns the list of columns of a table

default_value(pg_cur, table_schema, ...)

Returns the default value of the column

geometry_type(pg_cur, table_schema, table_name)

Returns the geometry type of a column as a tuple (type, srid)

primary_key(pg_cur, schema_name, table_name)

Returns the primary of a table

reference_columns(pg_cur, table_schema, ...)

Returns the columns use in a reference constraint