Re: [HACKERS] expose confirmed_flush for replication slots

2015-08-10 Thread Marko Tiikkaja
On 8/10/15 1:29 PM, Andres Freund wrote: On 2015-07-08 15:01:15 +0300, Marko Tiikkaja wrote: + if (confirmed_flush_lsn != InvalidTransactionId) + values[i++] = LSNGetDatum(confirmed_flush_lsn); + else + nulls[i++] = true; +

Re: [HACKERS] Summary of plans to avoid the annoyance of Freezing

2015-08-10 Thread Andres Freund
On 2015-08-10 11:25:37 +0300, Heikki Linnakangas wrote: On 08/10/2015 11:17 AM, Andres Freund wrote: On 2015-08-10 07:26:29 +0100, Simon Riggs wrote: So there is no conflict, but options 2) and 3) are completely redundant if we go for 5). After investigation, I now think 5) is achievable in

Re: [HACKERS] WIP: Rework access method interface

2015-08-10 Thread Alexander Korotkov
On Mon, Aug 10, 2015 at 1:12 PM, Petr Jelinek p...@2ndquadrant.com wrote: On 2015-08-09 23:56, Alexander Korotkov wrote: Hacker, some time before I proposed patches implementing CREATE ACCESS METHOD.

Re: [HACKERS] statement_timeout affects query results fetching?

2015-08-10 Thread Robert Haas
On Mon, Aug 10, 2015 at 5:25 AM, Shay Rojansky r...@roji.org wrote: Thanks for the explanation Robert, that makes total sense. However, it seems like the utility of PG's statement_timeout is much more limited than I thought. In case you're interested, I dug a little further and it seems that

Re: [HACKERS] replication slot restart_lsn initialization

2015-08-10 Thread Andres Freund
On 2015-07-07 09:42:54 -0700, Gurjeet Singh wrote: --- a/src/backend/replication/slot.c +++ b/src/backend/replication/slot.c @@ -40,10 +40,10 @@ #include sys/stat.h #include access/transam.h +#include access/xlog_internal.h #include common/string.h #include miscadmin.h #include

<    1   2