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
Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group