Re: Logical decoding plugin - Mailing list pgsql-cluster-hackers

From Michael Paquier
Subject Re: Logical decoding plugin
Date
Msg-id CAB7nPqRCFm5SGhQG58tvFNgjfpnF6hvVumi+qyRci68zan1sPw@mail.gmail.com
Whole thread Raw
In response to Logical decoding plugin  (remi colli <RCD18@hotmail.fr>)
List pgsql-cluster-hackers
On Thu, Jul 28, 2016 at 5:40 PM, remi colli <RCD18@hotmail.fr> wrote:
> Hi! I'm an intern, and I work on logical decoding plugin on PG.
>
>
> I'm in troubles when I have a DELETE action on a table who don't have a
> primary key, in my C plugin :
>
> the new tuple is empty
>
> the old tuple is empty too
> and there are not primary key....
>
> Is it possible to get information about the deleted row ?

What is the value of REPLICA IDENTITY for this table? You can identify
an old tuple by using either USING INDEX or FULL in your plugin.
--
Michael


pgsql-cluster-hackers by date:

Previous
From: remi colli
Date:
Subject: Logical decoding plugin
Next
From: Jelle Ouwerkerk
Date:
Subject: pglogical: Segmentation fault when using last_update_wins