Revive targetServerType=preferPrimary feature

From: "Mukhin, Dmitriy" <dmukhin(at)verisign(dot)com>
To: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Cc: "pg(at)fastcrypt(dot)com" <pg(at)fastcrypt(dot)com>
Subject: Revive targetServerType=preferPrimary feature
Date: 2022-03-24 14:35:11
Message-ID: 7A28F2C8-F4DC-4BB8-8109-E573875E24EC@verisign.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi All,

In 2019, there was a discussion on implementing the targetServerType=preferPrimary JDBC driver parameter feature (see here: How to send queries to master and failover to slave ?<https://www.postgresql.org/message-id/VI1PR05MB5295BA974B84191217A6A613BC760%40VI1PR05MB5295.eurprd05.prod.outlook.com>) and a Pull Request created for that ( https://github.com/pgjdbc/pgjdbc/pull/1430 ). The project I’m working on would greatly benefit from merging this PR and apparently there were other people that requested this feature before. Can we revive this PR and reconsider its merging? Alternatively, I can create a fresh PR with the same changes against current master branch and submit it for review. Please let me know what I can do to make this change happen.

Thank you!

Dmitriy Mukhin

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2022-03-24 14:42:26 Re: Revive targetServerType=preferPrimary feature
Previous Message Dave Cramer 2022-03-24 14:31:01 Re: [EXTERNAL] Re: Java client connection problem on FIPS enabled hosts (with password_encryption = scram-sha-256)