Re: Logical replication without a Primary Key

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Logical replication without a Primary Key
Date: 2017-12-07 13:30:16
Message-ID: 617f32f9-1fab-ea7d-745c-f64d0ad902ec@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 12/6/17 19:03, Joshua D. Drake wrote:
> -Hackers,
>
> In the docs it says:
>
> "
> If the table does not have any suitable key, then it can be set to
> replica identity“full”, which means the entire row becomes the key.
>
> "
>
> How does that work? Is it using one of the hidden columns on a row?

It means that for example if an update record is produced, the entire
row is included in the record as the key.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2017-12-07 13:31:44 Re: [HACKERS] logical decoding of two-phase transactions
Previous Message Alexander Korotkov 2017-12-07 12:46:01 Re: compress method for spgist - 2