skip to main content
Drivers for 32-Bit and 64-Bit Platforms : The PostgreSQL Wire Protocol Driver : Connection Option Descriptions for PostgreSQL Wire Protocol : Connection Retry Count
 

Try DataDirect Drivers Now
Connection Retry Count

Attribute

ConnectionRetryCount (CRC)

Purpose

The number of times the driver retries connection attempts to the primary database server, and if specified, alternate servers until a successful connection is established.
This option and the Connection Retry Delay connection option, which specifies the wait interval between attempts, can be used in conjunction with failover.

Valid Values

0 | x
where:
x
is a positive integer from 1 to 65535.

Behavior

If set to 0, the driver does not try to connect after the initial unsuccessful attempt.
If set to x, the driver retries connection attempts the specified number of times. If a connection is not established during the retry attempts, the driver returns an error that is generated by the last server to which it tried to connect.

Default

0

GUI Tab

Failover tab