This page in other versions: Unsupported versions: 6.3
pg_exec
PostgreSQL
Prev Next

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".


Prev Home Next
pg_disconnect Up pg_select

Submit correction

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.

Privacy Policy | About PostgreSQL
Copyright © 1996-2016 The PostgreSQL Global Development Group