BUG #17135: duplicate key value violates unique constraint

Started by PG Bug reporting formover 4 years ago2 messagesbugs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following bug has been logged on the website:

Bug reference: 17135
Logged by: Jaineel Chauhan
Email address: jaineelrc141199@gmail.com
PostgreSQL version: 12.6
Operating system: ubuntu 20.04
Description:

Please give solution for below problem ::

duplicate key value violates unique constraint "mail_followers_pkey"
DETAIL: Key (id)=(1490) already exists.

#2David G. Johnston
david.g.johnston@gmail.com
In reply to: PG Bug reporting form (#1)
Re: BUG #17135: duplicate key value violates unique constraint

On Thu, Aug 5, 2021 at 7:24 AM PG Bug reporting form <noreply@postgresql.org>
wrote:

The following bug has been logged on the website:

Bug reference: 17135
Logged by: Jaineel Chauhan
Email address: jaineelrc141199@gmail.com
PostgreSQL version: 12.6
Operating system: ubuntu 20.04
Description:

Please give solution for below problem ::

duplicate key value violates unique constraint "mail_followers_pkey"
DETAIL: Key (id)=(1490) already exists.

DELETE FROM mail_followers WHERE id = 1490;

The above will probably work...but it also probably isn't something you
should consider seriously. But it's the best I can come up with giving the
fact you've provided zero context about how/where/when this error is
occuring.

David J.