From: | shashidhar Reddy <shashidharreddy001(at)gmail(dot)com> |
---|---|
To: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
Cc: | ajit wangkhem <ajit(dot)wangkhem(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Unique key constraint Issue |
Date: | 2024-11-26 03:07:08 |
Message-ID: | CAH=zU4syqG08eH7+McKeVL1f+ggfBSbpe89R0wwmfcDhk_3kiQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi Adrian,
Thank you for your response.
I don't think index corrupted as I can generate the ddl script from the
index and the index is still in use when we query.
To rebuild the index we are still removing duplicate entries. But nothing
found in logs.
On Mon, 25 Nov, 2024, 9:30 pm Adrian Klaver, <adrian(dot)klaver(at)aklaver(dot)com>
wrote:
> On 11/25/24 00:44, shashidhar Reddy wrote:
> > Hi Ajit,
> >
> > Thank you for your reply!
> >
> > The result of the query is same across all servers and yes streaming
> > replication does not have any issue but the question is how did
> > duplicate values entered when there unique key in place.
>
> Corrupted index?
>
> Have you tried doing a REINDEX?
>
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)aklaver(dot)com
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Subhash Udata | 2024-11-26 04:08:26 | Re: Questions on Upgrading PostgreSQL from 15.0 to 15.9 and Setting Up Streaming Replication |
Previous Message | Steeve Boulanger | 2024-11-26 02:48:38 | Re: Database stats ( pg_stat_database.stats_reset ) get reset on daily basis - why? |