logical decoding and replication of sequences

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, petr(dot)jelinek(at)enterprisedb(dot)com, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Subject: logical decoding and replication of sequences
Date: 2022-04-02 18:12:12
Message-ID: CAEudQApBrMXH=J5RS4fmDArH6ptcqvxrnfvQP5NZ+w6SY8O+Jw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2/10/22 19:17, Tomas Vondra wrote:
>> I've polished & pushed the first part adding sequence decoding
>> infrastructure etc. Attached are the two remaining parts.
>>
>> I plan to wait a day or two and then push the test_decoding part. The
>> last part (for built-in replication) will need more work and maybe
>> rethinking the grammar etc.
>>

>I've pushed the second part, adding sequences to test_decoding.

Hi,

Minor oversight with commit 0da92dc
<https://github.com/postgres/postgres/commit/0da92dc530c9251735fc70b20cd004d9630a1266>
.
RelationIdGetRelation can return NULL, then it is necessary to check the
return.

regards,
Ranier Vilela

Attachment Content-Type Size
0001-avoid-dereference-null-relation.patch application/octet-stream 680 bytes

Browse pgsql-hackers by date

  From Date Subject
Next Message Joseph Koshakow 2022-04-02 18:22:58 Re: Fix overflow in DecodeInterval
Previous Message Ranier Vilela 2022-04-02 17:57:22 Re: support for MERGE