Whitebeam Object Definition
Connection parameters for Postgres databases. An object with the followingg attributes must be passed
to either connect or
pconnect methods to
attach to a database.
Details of how to us the Whtebeam Postgres interface can be found in our tutorial dealing with this specific topic.
The PgsqlConnection.connectionDesc struct has 6 elements:
|Name ||Type/Value ||Range/Length ||Description |
|user||string|| ||Required. Username with which to connect to the server|
|password||string|| ||Required. Password to use for the user|
|dbname||string|| ||Required. Name of the database to open|
|host||string|| ||Optional, default = localhost|
Name or IP address of the machine to which to connect
|connect_timeout||string|| ||Optional. Number of seconds to wait before aborting connection attempt|
|sslmode||string|| ||Optional. disable, allow, prefer, require. This parameter is defined by Postgres, refer to Postgres documentation for how to use.|
(loadtime : 26ms)