Top
Enterprise Postgres 16 SP1 Release Notes

2.2.11 Changing the Method of Specifying the Application Connection Switch Feature

Incompatibility

The target server specified using the application connection switch feature is changed to the same name as that of PostgreSQL.

Action method

Use the FUJITSU Enterprise Postgres 10 or later client to execute applications that have the target server specified as the application connection switch feature after changing the target server and specified value as listed below and recompiling.

Specified name of the target server

Usage target

Before correction

After correction

JDBC driver

No change

ODBC driver

TargetServer

target_session_attrs

.NET Data Provider

target_server

TargetServerType

Connection service file

target_server

target_session_attrs

Library (libpq) for C

target_server

Environment variable (PGXTARGETSERVER)

target_session_attrs

Environment variable (PGTARGETSESSIONATTRS)

Embedded SQL

target_server

target_session_attrs

psql

Environment variable (PGXTARGETSERVER)

Environment variable (PGTARGETSESSIONATTRS)

Specified value for the target server

Server selection order

JDBC driver

.NET Data Provider

Other driver

Before correction

After correction

Before correction

After correction

Primary server

No change

primary

master

primary

read-write

Standby server

No change

-

slave

-

-

Priority given to a standby server

No change

prefer_standby

preferSlave

prefer_standby

prefer-read

Any

No change

-

any

-

any