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

Try DataDirect Drivers Now
Failover Mode

Attribute

FailoverMode (FM)

Purpose

Specifies the type of failover method the driver uses.
The Alternate Servers option specifies one or multiple alternate servers for failover and is required for all failover methods.

Valid Values

0 | 1 | 2

Behavior

If set to 0 (Connection), the driver provides failover protection for new connections only.
If set to 1 (Extended Connection), the driver provides failover protection for new and lost connections, but not any work in progress.
If set to 2 (Select), the driver provides failover protection for new and lost connections. In addition, it preserves the state of work performed by the last Select statement executed.

Default

0 (Connection)

GUI Tab

Failover tab