Hi,
When reviewing some replica identity related patches, I found that when adding
primary key using an existing unique index on not null columns, the
target table's relcache won't be invalidated.
This would cause an error When REPLICA IDENTITY is default and we are
UPDATE/DELETE a published tabl
On Mon, Dec 20, 2021, at 3:45 AM, houzj.f...@fujitsu.com wrote:
> Hi,
>
> When reviewing some replica identity related patches, I found that when adding
> primary key using an existing unique index on not null columns, the
> target table's relcache won't be invalidated.
Good catch.
It seems you c
Hi,
On Mon, Dec 20, 2021 at 06:45:33AM +, houzj.f...@fujitsu.com wrote:
>
> I tried to write a patch to fix this by invalidating the relcache after
> marking
> primary key in index_constraint_create().
The cfbot reports that you have a typo in your regression tests:
https://api.cirrus-ci.c
"Euler Taveira" writes:
> On Mon, Dec 20, 2021, at 3:45 AM, houzj.f...@fujitsu.com wrote:
>> When reviewing some replica identity related patches, I found that when
>> adding
>> primary key using an existing unique index on not null columns, the
>> target table's relcache won't be invalidated.
>