Re: PATCH: 9.5 replication origins fix for logical decoding - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: PATCH: 9.5 replication origins fix for logical decoding
Date
Msg-id CAMsr+YGW++edsdV3hiwTzh0_0a5J8znZXWuc1WaTb7VoT7e=Ww@mail.gmail.com
Whole thread Raw
In response to Re: PATCH: 9.5 replication origins fix for logical decoding  (Andres Freund <andres@anarazel.de>)
Responses Re: PATCH: 9.5 replication origins fix for logical decoding  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers
On 15 October 2015 at 19:04, Andres Freund <andres@anarazel.de> wrote:

> As far as I can see all the other places have it assigned.

Ok, thanks. Not much need for a followup patch then, if you're not
using the test changes part.

>>table public.origin_tbl: INSERT: id[integer]:6 data[text]:'from second
>>origin' -- origin:'some_origin' origin_lsn:'0/1234'
>>
>>?
>>
>>it's cluttered, but really I'm not sure there's a pretty way to pack
>>that in, and it's only test output.
>
> I'm inclined not to commit this part - seems to add too much complications for the amount of coverage. But please use
itfor testing.
 

It doesn't seem like this will be particularly vulnerable to
regressions or have new record types added that need a check for them.
I'd be inclined to add the info, but I have a higher tolerance for
verbosity than you ;)

I think it's worth adding a test for the change of origin mid-tx. I
had no idea that was even possible.

Testing forwarding of empty tx's is simple and should probably be there too.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Haribabu Kommi
Date:
Subject: Re: Parallel Seq Scan
Next
From: Craig Ringer
Date:
Subject: Re: [PATCH v3] GSSAPI encryption support