Option
|
Description
|
AllowDateTimeOffset
|
Determines whether to use the DateTimeOffset type instead of DateTime when a timestamptz value is returned.
|
ApplicationName
|
Specifies the name of the application, associated with the connection string.
|
Character Set
|
Specifies a character set used by the client. When this property is enabled, the "SET NAMES <Charset>" query is executed on establishing a connection. The default value is an empty string indicating that no action is performed with charset on the client and on the server.
|
Connection Lifetime
|
Specifies the maximum lifetime (in seconds) of a connection. When a connection is returned to the pool, its creation time is compared with the current time, and the connection is destroyed if that time span exceeds the value specified by Connection Lifetime. The default value is 0.
|
Connection Timeout
|
Specifies the length of time (in seconds) to wait for a connection to the server before terminating the attempt and generating an error. The default value is 15.
|
Database
|
Specifies the name of the PostgreSQL database you want to connect to.
|
Default Command Timeout
|
Specifies the default time in seconds to wait while trying to execute a command before terminating the attempt and generating an error. 0 indicates no limit.
|
Default FetchAll
|
Ignores any value assigned to it. Do not use this parameter.
|
Enlist
|
Determines whether the connection is automatically enlisted in the current distributed transaction. The default value is true.
|
Force IPv4
|
Determines whether authentication by an IPv6 address can be used, or an IPv4 address must always be used for authentication.
|
Host
|
Specifies the name or IP address of host of the PostgreSQL database to which to connect.
|
Ignore Unnamed Parameters
|
Determines whether to treat the '?' character in the command text as an unnamed parameter.
|
Initial Schema
|
Specifies the name of the schema to be used once a connection is opened. You can change it later if you need. By default it is schema 'Public'.
|
Initialization Command
|
Specifies a data source-specific command that is executed immediately after the connection is established.
|
Integrated Security
|
Determines whether to use a secure authentication with single sign-on (GSSAPI or SSPI, depending on the server).
|
Join Statement Notices
|
Determines whether all the notices, raised during the statement execution, will be returned together in one InfoMessage event after the statement execution, or each notice will be returned as a separate InfoMessage event.
|
Keep Alive
|
Specifies whether to send TCP keep-alive packets and the interval at which they are sent in seconds. The default value is 0 indicating that the packets are not sent.
|
Keep Connected
|
Specifies the interval, in seconds, at which periodic ping requests are sent to PostgreSQL while the connection is idle to prevent the connection from being closed. The default value is 0, indicating that the calls are disabled.
|
Max Pool Size
|
Specifies the maximum number of connections allowed in the pool. Setting the Max Pool Size value in the connection string can affect performance. The default value is 100.
|
Min Pool Size
|
Specifies the minimum number of connections allowed in the pool. The default value is 0.
|
Password
|
Specifies the password to login with.
|
Persist Security Info
|
Indicates if security-sensitive information, such as the password, is not returned as part of the connection if the connection is open or has ever been in an open state.
|
Pooling
|
Draws the connection from the appropriate pool, or creates it and adds it to the appropriate pool, by default.
|
Port
|
Specifies the PostgreSQL connection port. The default value is 5432.
|
Protocol
|
Specifies the Frontend/Backend Protocol version. Available values are Ver20 and Ver30. Set the parameter to Ver20 for the protocol version 2.0 or to Ver30 for protocol version 3.0.
|
Proxy Host
|
Specifies the host name or IP address of proxy server.
|
Proxy Password
|
Specifies the password for the proxy server account.
|
Proxy Port
|
Specifies the port number of the proxy server. The default value is 3128.
|
Proxy User
|
Specifies the proxy server account name.
|
Run Once Command
|
Specifies a database-specific command that is executed immediately after establishing the connection. Unlike Initialization Command, it is not executed for connections obtained from the connection pool.
|
SSH Authentication Type
|
Specifies the client's SSH authentication method.
|
SSH Cipher List
|
Specifies the list of ciphers that the client agrees to use, separated by colons. Two modes of block ciphering are supported: Cipher-block chaining (CBC) and Counter (CTR).
The following ciphers are available for SSH connections in the CBC mode:
| • | 3DES or 3DES(168) - Triple Data Encryption Algorithm. Key size 168 bits. |
| • | Blowfish - Symmetric-key block cipher, designed in 1993 by Bruce Schneier. Key size 128 bits. |
| • | AES(128) - Advanced Encryption Standard. Key size 128 bits. |
| • | AES(192) - Advanced Encryption Standard. Key size 192 bits. |
| • | AES or AES(256) - Advanced Encryption Standard. Key size 256 bits. |
In the CTR mode the AES ciphers are used.
| • | AES(128)-CTR - Advanced Encryption Standard. Key size 128 bits. |
| • | AES(192)-CTR - Advanced Encryption Standard. Key size 192 bits. |
| • | AES-CTR or AES(256)-CTR - Advanced Encryption Standard. Key size 256 bits. |
You can use ALL keyword to indicate whole set of ciphers. To exclude certain cipher from the set use "-" sign. For instance, the value of CipherList parameter "ALL-Blowfish" means that any cipher but Blowfish can be used.
|
SSH Host
|
Specifies the name or IP address of the SSH server.
|
SSH Host Key
|
Specifies the location of the public key on the client side to verify the server host key during establishing connection. OpenSSH or IETF SECSH key files are supported. You may use such utilities as 'ssh-keygen.exe' or 'puttygen.exe' for generation of the corresponding public/private key pair.
|
SSH KeyExchange Algorithms
|
Specifies the algorithms to securely establish a shared encryption key between the client and the server.
|
SSH MAC Algorithms
|
Specifies the algorithms to verify the integrity and authenticity of data exchanged between the client and the server.
|
SSH Passphrase
|
Specifies the client key passphrase.
|
SSH Password
|
Specifies the user password on the SSH server.
|
SSH Port
|
Specifies the number of port on SSH server to connect.
|
SSH Private Key
|
Specifies the location of the client private key.
|
SSH Strict Host Key Check
|
Indicates whether the host key is verified during establishing connection.
|
SSH User
|
Specifies the user id on the SSH server.
|
SSL CA Cert
|
Specifies the location of the authority SSL certificate.
|
SSL Cert
|
Specifies the location of the client SSL certificate.
|
SSL Cipher List
|
Specifies the list of ciphers that the client agrees to use.
|
SSL Key
|
Specifies the location of the user's private key.
|
SSL TLS Protocol
|
Determines the preferred TLS protocol version, reported to the server when establishing a secure connection.
|
SSLMode
|
Specifies the SSL connection priority. May be Disable, Allow, Prefer, and Require. The default value is Disable, which means that only an unencrypted SSL connection will be attempted.
|
Target Session
|
Determines how the host to connect to is selected from the list when multiple hosts are specified in the Host connection string parameter.
|
Transaction Error Behavior
|
Determines how the driver handles errors that occur within a transaction.
|
Transaction Scope Local
|
Uses only one internal connection when several connections share the same connection string (which includes "Transaction Scope Local=true;") within a scope of TransactionScope. The default value is false.
|
Unicode
|
Sets client charset to UTF8 and converts client data according to this charset, by default.
|
UnpreparedExecute
|
Uses unprepared execute mode by default.
|
Use Session Timezone
|
Determines whether the current session's time zone is used to convert requested PostgreSQL date/time values.
|
User ID
|
Specifies the user name to login with.
|
Validate Connection
|
Specifies whether to validate connections that are being got from the pool.
|