Unsupported versions: 6.3
Historical version. PostgreSQL 6.3 has reached end of support. See the current manual.
| PostgreSQL | ||
|---|---|---|
| Prev | Next | |
pg_connect
Name
pg_connect — opens a connection to the backend serverpg_connect dbName -host hostName -port portNumber -tty pqtty -options optionalBackendArgs
Inputs
- dbName
Specifies a valid database name.
- -host hostName
Specifies the domain name of the backend server for dbName.
- -port portNumber
Specifies the IP port number of the backend server for dbName.
- -tty pqtty
(need information thomas 1997-12-24)
- -options optionalBackendArgs
Specifies options for the backend server for dbName.
Outputs
- dbHandle
The return result is either an error message or a handle for a database connection. Handles start with the prefix "pgp"
Description
pg_connect opens a connection to the Postgres backend.
Usage
XXX thomas 1997-12-24
| Prev | Home | Next |
| Reference Information | Up | pg_disconnect |
Report a documentation issue
Read the upstream documentation. For corrections, first check the current manual.