Re: Duplicate Primary keys in postgresql tables

2023-07-24 Thread De Lan
Hi Ken and Adrian, Thanks for the useful suggestions! We've investigated a bit more on the collations and we're almost certain it is the RC: For Debian 11.11: user=# select 'a' > 'A'; ?column? -- f (1 row) user=# select 'a' < 'A'; ?column? -- t (1 row) For Alpine 11.19: user

Re: Duplicate Primary keys in postgresql tables

2023-07-22 Thread Adrian Klaver
On 7/22/23 10:11, De Lan wrote: Hi pgsql community, Recently we found in a postgresql 11.19.0 alpine table there are two rows with duplicate primary keys. *Our questions:* Any ideas on what might cause this behavior other than the collation? if it is a well-known issue in the pgsql comm

Re: Duplicate Primary keys in postgresql tables

2023-07-22 Thread Ken Marshall
> > *Our questions:* > > Any ideas on what might cause this behavior other than the collation? if it > is a well-known issue in the pgsql community or it really is the > coalition that's the root cause, do we have mitigation for this kind of > issue from happening in future? > > > > De, > > T

Duplicate Primary keys in postgresql tables

2023-07-22 Thread De Lan
Hi pgsql community, Recently we found in a postgresql 11.19.0 alpine table there are two rows with duplicate primary keys. *The table schema (anonymized):* # \d+ app_specs; Table "public.app_specs" Column | Type | Collation | Nullable