PostgreSQL Programmer's Guide
PrevNext

pg_exec

Name

pg_exec — send a query string to the backend

pg_exec dbHandle queryString

Inputs

dbHandle

Specifies a valid database handle.

queryString

Specifies a valid SQL query.

Outputs

queryHandle

the return result is either an error message or a handle for a query result.

Description

pg_exec submits a query to the Postgres backend and returns a result. Handles start with the prefix "pgp".


PrevHomeNext
pg_disconnectUppg_select