Skip site navigation (1) Skip section navigation (2)

Re: Error: duplicate key violates unique constraint - "pg_toast_3270368541_index

From: "Tomeh, Husam" <HTomeh(at)facorelogic(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>,pgsql-admin(at)postgresql(dot)org
Subject: Re: Error: duplicate key violates unique constraint - "pg_toast_3270368541_index
Date: 2007-11-15 16:16:35
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-admin
Thanks Tom. As a temporarily solution though, would reorging the table
(pgdump,drop/truncate, reload) resolve the OID collision issue and buy
us some time until we get the upgrade going?  

  Husam Tomeh

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us] 
Sent: Wednesday, November 14, 2007 9:37 PM
To: Tomeh, Husam
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: [ADMIN] Error: duplicate key violates unique constraint -

"Tomeh, Husam" <HTomeh(at)facorelogic(dot)com> writes:
> We've started getting duplicate key violates unique constraint error 
> on one of the toast index starting last weekend.

> PG version is 8.0 with postgis extension.

Consider updating to something more recent.  That problem was addressed
in this 8.1-cycle patch:

			regards, tom lane

This message contains confidential information intended only for the use of the addressee(s) named above and may contain information that is legally privileged.  If you are not the addressee, or the person responsible for delivering it to the addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited.  If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message immediately thereafter.

Thank you.

                                   FADLD Tag

In response to


pgsql-admin by date

Next:From: Tom LaneDate: 2007-11-15 16:25:24
Subject: Re: any way to make query use index?
Previous:From: Richard Broersma JrDate: 2007-11-15 16:06:49
Subject: Re: "global/pg_control": Permission denied

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group