Re: [HACKERS] Proposal for CSN based snapshots

2016-08-10 Thread Ants Aasma
On Tue, Aug 9, 2016 at 3:16 PM, Heikki Linnakangas wrote: > (Reviving an old thread) > > I spent some time dusting off this old patch, to implement CSN snapshots. > Attached is a new patch, rebased over current master, and with tons of > comments etc. cleaned up. There's more

Re: [HACKERS] Curing plpgsql's memory leaks for statement-lifespan values

2016-08-10 Thread Pavel Stehule
Hi 2016-07-27 16:49 GMT+02:00 Tom Lane : > Robert Haas writes: > > On Mon, Jul 25, 2016 at 6:04 PM, Tom Lane wrote: > >> I suppose that a fix based on putting PG_TRY blocks into all the > affected > >> functions might be simple

Re: [HACKERS] Small issues in syncrep.c

2016-08-10 Thread Julien Rouhaud
On 10/08/2016 09:43, Michael Paquier wrote: > On Wed, Aug 10, 2016 at 4:29 PM, Simon Riggs wrote: >> >> I've updated Julien's patch to reflect Michael's suggestion. Thanks to you and Michael. >> 14e8803f1 was only a partial patch for the syncrep code, so I don't >> see

Re: [HACKERS] Small issues in syncrep.c

2016-08-10 Thread Michael Paquier
On Wed, Aug 10, 2016 at 4:29 PM, Simon Riggs wrote: > 14e8803f1 was only a partial patch for the syncrep code, so I don't > see any reason to keep the code as it currently is in 9.5/9.6. > > Any objections to backpatching this to 9.5 and 9.6? None from here. -- Michael

Re: [HACKERS] Small issues in syncrep.c

2016-08-10 Thread Simon Riggs
On 10 August 2016 at 06:24, Michael Paquier wrote: > On Tue, Aug 9, 2016 at 5:34 PM, Julien Rouhaud > wrote: >> Since 14e8803f1, it's not necessary to acquire the SyncRepLock to see up >> to date data. But it looks like this commit didn't

Re: [HACKERS] handling unconvertible error messages

2016-08-10 Thread Victor Wagner
On Wed, 10 Aug 2016 11:08:43 +0900 (Tokyo Standard Time) Kyotaro HORIGUCHI wrote: > Hello, > > (I've recovered the lost Cc recipients so far) > > At Mon, 8 Aug 2016 12:52:11 +0300, Victor Wagner > wrote in

Re: [HACKERS] PATCH: Batch/pipelining support for libpq

2016-08-10 Thread Michael Paquier
On Fri, Jun 3, 2016 at 8:51 PM, Dmitry Igrishin wrote: >> BTW, I've publushed the HTML-ified SGML docs to >> http://2ndquadrant.github.io/postgres/libpq-batch-mode.html as a preview. > Typo detected: "Returns 1 if the batch curently being received" -- "curently". I am looking

Re: [HACKERS] Wait events monitoring future development

2016-08-10 Thread Craig Ringer
On 10 August 2016 at 07:09, Jim Nasby wrote: > > The downside to leaving stuff like this off by default is users won't > remember it's there when they need it. At best, that means they spend more > time debugging something than they need to. At worse, it means they

<    1   2