Re: Proposal: RETURNING primary_key() - Mailing list pgsql-hackers

From Igal @ Lucee.org
Subject Re: Proposal: RETURNING primary_key()
Date
Msg-id 56E05227.2060005@lucee.org
Whole thread Raw
In response to Re: Proposal: RETURNING primary_key()  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: Proposal: RETURNING primary_key()  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers
On 3/8/2016 5:12 PM, Craig Ringer wrote:
> One of the worst problems (IMO) is in the driver architecture its 
> self. It attempts to prevent blocking by guestimating the server's 
> send buffer state and its recv buffer state, trying to stop them 
> filling and causing the server to block on writes. It should just 
> avoid blocking on its own send buffer, which it can control with 
> confidence. Or use some of Java's rather good concurrency/threading 
> features to simultaneously consume data from the receive buffer and 
> write to the send buffer when needed, like pgjdbc-ng does.

Are there good reasons to use pgjdbc over pgjdbc-ng then?




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: More stable query plans via more predictable column statistics
Next
From: Jeff Janes
Date:
Subject: Re: multivariate statistics v14