Property | Description | Type |
---|---|---|
user |
The PostgreSQL login ID. This property is required unless the auth-part of the URL was used.
Example: user=root |
String |
password |
The password for user. This property is required unless the auth-part of the URL was used.
Example: password=swordfish |
String |
connect-timeout |
Specifies the connect timeout in seconds. This is the duration to wait when establishing a connection to the database.
The default value is 3 seconds. It is a checked runtime error to use a value less than or equal to 0.
Example: connect-timeout=5 |
Integer (seconds) |
use-ssl |
Used for establishing secure connections using SSL. OpenSSL support must be enabled/linked in the client library. Default is false.
Example: use-ssl=true |
Boolean (true/false) |
unix-socket |
Connect to the database server over a unix socket on localhost. The unix-socket value should be the name of the directory in which the
unix socket file is stored. Note that this is different from the MySQL unix-socket parameter which specify the full path to the socket
file.
Example: unix-socket=/tmp |
String (directory path) |
application-name |
Optionally specify the application name. The name will show up in PostgreSQL logs for connections and operations made through libzdb.
Example: application-name=My Application |
String |