PostgreSQL access.
To use this module, db_init() has to be called in advance.
db_init()
pg_jts.pg_query.
conn
Database connection.
cur
Database cursor within connection conn.
db_get_all
Execute an SQL query and return all rows (as list of tuples).
db_init
Initialize a database connection using a connection string.