Re: Revive targetServerType=preferPrimary feature

From: "Mukhin, Dmitriy" <dmukhin(at)verisign(dot)com>
To: "pg(at)fastcrypt(dot)com" <pg(at)fastcrypt(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Revive targetServerType=preferPrimary feature
Date: 2022-04-06 23:00:41
Message-ID: 6290B456-D7ED-4E30-9466-AD22CDBD4C4D@verisign.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I have created https://github.com/pgjdbc/pgjdbc/pull/2483 per our conversation below. Can you please review it and let me know if anything else needs to be done?

Thanks,

Dmitriy

From: Dave Cramer <pg(at)fastcrypt(dot)com>
Date: Thursday, March 24, 2022 at 10:42 AM
To: "Mukhin, Dmitriy" <dmukhin(at)verisign(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Revive targetServerType=preferPrimary feature

> On Thu, 24 Mar 2022 at 10:35, Mukhin, Dmitriy <dmukhin(at)verisign(dot)com> wrote:
>
> > 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
> >
>
> It needs to be cleaned up so yes, please create a new PR.
>
> Thanks,
>
> Dave
>

Browse pgsql-jdbc by date

  From Date Subject
Next Message Blake McBride 2022-04-13 14:53:06 Re: JDBC: ERROR: portal "C_2" does not exist
Previous Message Dave Cramer 2022-03-31 15:36:57 [pgjdbc/pgjdbc] aa1f58: Remove isDeprecated from PGProperty. It was origin...