Re: pg_replication_origin_xact_reset() and its argument variables - Mailing list pgsql-hackers

From Robert Haas
Subject Re: pg_replication_origin_xact_reset() and its argument variables
Date
Msg-id CA+Tgmoam8eRvicYGf_4BRMPy2Ri0e99MEcWweTQD6v_TW7XpGg@mail.gmail.com
Whole thread Raw
In response to Re: pg_replication_origin_xact_reset() and its argument variables  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On Thu, Jul 28, 2016 at 3:44 AM, Fujii Masao <masao.fujii@gmail.com> wrote:
>>>> Sure looks that way from here.  Copy-and-paste from the previous
>>>> line in pg_proc.h, perhaps?
>>
>>> Yes, that's clearly wrong.
>
> Attached patch (pg_replication_origin_xact_reset_9.6.patch) fixes this.
> We need to apply this at least before RC1 of PostgreSQL9.6 will be released
> because the patch needs the change of catalog version.
>
>>> Damn.  Can't fix that for 9.5 anymore. The
>>> function isn't all that important (especially not from SQL), but still,
>>> that's annoying.  I'm inclined to just remove the args in 9.6. We could
>>> also add a note to the 9.5 docs, adding that the arguments are there by
>>> error?
>
> What about the attched patch (pg_replication_origin_xact_reset_9.5.patch)?

I think you should apply these ASAP.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: PoC: Make it possible to disallow WHERE-less UPDATE and DELETE
Next
From: Fabrízio de Royes Mello
Date:
Subject: Re: PostgreSQL 10 kick-off