Re: expose confirmed_flush for replication slots

From: Marko Tiikkaja <marko(at)joh(dot)to>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: expose confirmed_flush for replication slots
Date: 2015-08-10 11:31:34
Message-ID: 55C88B96.3070702@joh.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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;
>> +
>
> Hm. That comparison is using the wrong datatype, but it appears you only
> copied my earlier mistake... Fixed back to 9.4 and in your patch.
>
> Other notes:
>
> * you missed to touch test_decoding's regression test output files.
> * None of the docs were touched. catalogs.sgml definitely needs docs
> about the new columns, and I see no reason to leave the examples
> elsewhere stale.

Yeah. I should've grepped around a bit more. Sorry about that.

> Fixed those and committed it. Thanks for the patch!

Thank you very much!

.m

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2015-08-10 12:04:36 Re: Summary of plans to avoid the annoyance of Freezing
Previous Message Andres Freund 2015-08-10 11:29:30 Re: Don'st start streaming after creating a slot in pg_receivexlog