From: Ken Marshall <ktm@rice.edu>
To: De Lan <delandl@google.com>
Cc: pgsql-general@lists.postgresql.org, Amit Virmani <avirmani@google.com>
Cc: Terence Yim <terencey@google.com>
Cc: Vitalii Tymchyshyn <vitaliit@google.com>
Cc: Samik Gupta <gupsam@google.com>
Cc: Albert Shau <ashau@google.com>
Subject: Re: Duplicate Primary keys in postgresql tables
Date: Sat, 22 Jul 2023 12:30:38 -0500
Message-ID: <ZLwSPl8nSknFnVLF@aart.rice.edu> (raw)
In-Reply-To: <CAPsFu7zsqZgtWuQi_sUPz91+6fCwJTEiXc4qUcHap9khW84S3g@mail.gmail.com>
References: <CAPsFu7zsqZgtWuQi_sUPz91+6fCwJTEiXc4qUcHap9khW84S3g@mail.gmail.com>
>
> *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,
>
> Thanks!
Hi De,
Unless you are having a hardware issue this sort of problem is almost
always an unexpected change in the collation being used. You may be able
to use the ICU collation that has been added to minimize the impacts of
such a change. I would recommend monitoring your collation and if it
changes alert. Also, you need to verify all of the collations if you are
going to upgrade any OS or container OS. Containers are not magic in
this regards. The fix is to reindex if you have a collation change.
Regards,
Ken
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: ktm@rice.edu, delandl@google.com, avirmani@google.com, terencey@google.com, vitaliit@google.com, gupsam@google.com, ashau@google.com
Subject: Re: Duplicate Primary keys in postgresql tables
In-Reply-To: <ZLwSPl8nSknFnVLF@aart.rice.edu>
References: <CAPsFu7zsqZgtWuQi_sUPz91+6fCwJTEiXc4qUcHap9khW84S3g@mail.gmail.com> <ZLwSPl8nSknFnVLF@aart.rice.edu>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox