Re: [HACKERS] Protocol forced to V2 in low-memory conditions?

2013-11-08 Thread Tom Lane
[ still catching up on old email ] I wrote: Andrew Dunstan and...@dunslane.net writes: On 09/11/2013 02:30 PM, Robert Haas wrote: On Tue, Sep 10, 2013 at 9:53 AM, Tom Lane t...@sss.pgh.pa.us wrote: Note that I was proposing removing libpq's support for V2 connections. Not the backend's. I

Re: [HACKERS] Protocol forced to V2 in low-memory conditions?

2013-11-08 Thread Robert Haas
On Fri, Nov 8, 2013 at 2:23 PM, Tom Lane t...@sss.pgh.pa.us wrote: [ still catching up on old email ] I wrote: Andrew Dunstan and...@dunslane.net writes: On 09/11/2013 02:30 PM, Robert Haas wrote: On Tue, Sep 10, 2013 at 9:53 AM, Tom Lane t...@sss.pgh.pa.us wrote: Note that I was proposing

Re: [HACKERS] Protocol forced to V2 in low-memory conditions?

2013-09-13 Thread Robert Haas
On Wed, Sep 11, 2013 at 2:35 PM, Andrew Dunstan and...@dunslane.net wrote: I vote against this. If we remove V2 support from libpq, then we'll have no easy way to test that the backend's support still works. And we've got too many people using V2 to think that it's OK not to have an easy way

Re: [HACKERS] Protocol forced to V2 in low-memory conditions?

2013-09-12 Thread Tom Lane
Andrew Dunstan and...@dunslane.net writes: On 09/11/2013 02:30 PM, Robert Haas wrote: On Tue, Sep 10, 2013 at 9:53 AM, Tom Lane t...@sss.pgh.pa.us wrote: Note that I was proposing removing libpq's support for V2 connections. Not the backend's. I vote against this. If we remove V2 support

Re: [HACKERS] Protocol forced to V2 in low-memory conditions?

2013-09-11 Thread Robert Haas
On Tue, Sep 10, 2013 at 9:53 AM, Tom Lane t...@sss.pgh.pa.us wrote: Andres Freund and...@2ndquadrant.com writes: On 2013-09-10 12:31:22 +0200, Magnus Hagander wrote: On Tue, Sep 10, 2013 at 5:29 AM, Tom Lane t...@sss.pgh.pa.us wrote: I've been thinking of late that it might be time to retire

Re: [HACKERS] Protocol forced to V2 in low-memory conditions?

2013-09-11 Thread Andrew Dunstan
On 09/11/2013 02:30 PM, Robert Haas wrote: On Tue, Sep 10, 2013 at 9:53 AM, Tom Lane t...@sss.pgh.pa.us wrote: Andres Freund and...@2ndquadrant.com writes: On 2013-09-10 12:31:22 +0200, Magnus Hagander wrote: On Tue, Sep 10, 2013 at 5:29 AM, Tom Lane t...@sss.pgh.pa.us wrote: I've been

Re: [HACKERS] Protocol forced to V2 in low-memory conditions?

2013-09-11 Thread David Fetter
On Tue, Sep 10, 2013 at 03:55:30PM +0200, Magnus Hagander wrote: On Tue, Sep 10, 2013 at 3:53 PM, Tom Lane t...@sss.pgh.pa.us wrote: Andres Freund and...@2ndquadrant.com writes: On 2013-09-10 12:31:22 +0200, Magnus Hagander wrote: On Tue, Sep 10, 2013 at 5:29 AM, Tom Lane t...@sss.pgh.pa.us

Re: [HACKERS] Protocol forced to V2 in low-memory conditions?

2013-09-10 Thread Magnus Hagander
On Tue, Sep 10, 2013 at 5:29 AM, Tom Lane t...@sss.pgh.pa.us wrote: Maciek Sakrejda m.sakre...@gmail.com writes: One of our customers seems to be running into exactly the issue hypothesized about by Tom here: http://www.postgresql.org/message-id/8040.1314403...@sss.pgh.pa.us Was the

Re: [HACKERS] Protocol forced to V2 in low-memory conditions?

2013-09-10 Thread Andres Freund
On 2013-09-10 12:31:22 +0200, Magnus Hagander wrote: On Tue, Sep 10, 2013 at 5:29 AM, Tom Lane t...@sss.pgh.pa.us wrote: Maciek Sakrejda m.sakre...@gmail.com writes: One of our customers seems to be running into exactly the issue hypothesized about by Tom here:

Re: [HACKERS] Protocol forced to V2 in low-memory conditions?

2013-09-10 Thread Tom Lane
Andres Freund and...@2ndquadrant.com writes: On 2013-09-10 12:31:22 +0200, Magnus Hagander wrote: On Tue, Sep 10, 2013 at 5:29 AM, Tom Lane t...@sss.pgh.pa.us wrote: I've been thinking of late that it might be time to retire libpq's support for V2 protocol (other than in the specific context

Re: [HACKERS] Protocol forced to V2 in low-memory conditions?

2013-09-10 Thread Magnus Hagander
On Tue, Sep 10, 2013 at 3:53 PM, Tom Lane t...@sss.pgh.pa.us wrote: Andres Freund and...@2ndquadrant.com writes: On 2013-09-10 12:31:22 +0200, Magnus Hagander wrote: On Tue, Sep 10, 2013 at 5:29 AM, Tom Lane t...@sss.pgh.pa.us wrote: I've been thinking of late that it might be time to retire

Re: [HACKERS] Protocol forced to V2 in low-memory conditions?

2013-09-09 Thread Tom Lane
Maciek Sakrejda m.sakre...@gmail.com writes: One of our customers seems to be running into exactly the issue hypothesized about by Tom here: http://www.postgresql.org/message-id/8040.1314403...@sss.pgh.pa.us Was the possibility of an inadvertent protocol downgrade addressed as part of that