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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Tomeh, Husam" <HTomeh@xxxxxxxxxxxxxxx> writes:
> 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?  

Probably.  I wouldn't bother with pg_dump, just INSERT ... SELECT
the data into a new table and then rename that one into place.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux