Re: pglogical 2.3.2 on 9.4 --> 12.3 CONFLICT: remote DELETE (tuple not found). Resolution: skip.

From: milist ujang <ujang(dot)milist(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pglogical 2.3.2 on 9.4 --> 12.3 CONFLICT: remote DELETE (tuple not found). Resolution: skip.
Date: 2020-08-12 12:35:27
Message-ID: CACG9ogxOs4B0P83rCP-2EFtuj1RipJP=_QCsJ1fQwq8cms=ycQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

replication identity correctly displayed on detail after resolution message:

LOG: CONFLICT: remote DELETE on relation public.a_XXXX replica identity
index a_XXX_pk (tuple not found). Resolution: skip.

DETAIL: remote tuple {created_by[int8]:(null)
created_date[timestamp]:(null) updated_by[int8]:(null)
updated_date[timestamp]:(null)
pk_col_1[varchar]:ZZZ100008 pk_col_2[bpchar]:12 pk_col_3[bpchar]:G <<
this is oldval
status_data[varchar]:(null)} in xact origin=2,timestamp=2020-08-12
08:06:33.956683+08,commit_lsn=0/CA6499D0

I am curious about bpchar in log DETAILS.
Is it the correct error message for the data type char?

On Wed, Aug 12, 2020 at 10:50 AM milist ujang <ujang(dot)milist(at)gmail(dot)com>
wrote:

> Configured pglogical source is 9.4 target is 12.3
>
> a table has PK from multiple column (varchar(50),char(2),char(1)).
>
> initial syncronization is OK, but when at source there is delete , but got
> error at target...
>
> LOG: CONFLICT: remote DELETE on relation public.a_XXXX replica identity
> index a_XXX_pk (tuple not found). Resolution: skip.
>
> replica identity was set to default for the table so yes there is old
> image on those 3 columns:
>
> but why delete was error at target?
> collation exactly same on all GUC.
>
> any direction to print debug verbosity on why delete on target didnt find
> row and skipped?
>
>
>
> --
> regards
>
> ujang jaenudin | DBA Consultant (Freelancer)
> http://ora62.wordpress.com
> http://id.linkedin.com/pub/ujang-jaenudin/12/64/bab
>

--
regards

ujang jaenudin | DBA Consultant (Freelancer)
http://ora62.wordpress.com
http://id.linkedin.com/pub/ujang-jaenudin/12/64/bab

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Shantanu Shekhar 2020-08-12 12:46:06 Postgres automatic minor version upgrade
Previous Message Paul Förster 2020-08-12 08:11:01 Re: How is PG replication typically used to create a High Availability (HA) config ?