deleting an identical record

From: "Tim Barnard" <tbarnard(at)povn(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: deleting an identical record
Date: 2002-02-21 22:38:20
Message-ID: 00e501c1bb28$79986140$a519af3f@hartcomm.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I believe the Oid for each record is different. You should be able to use
that to delete one of them.

Tim

----- Original Message -----
From: "Hugo Coolens" <hugo(dot)coolens(at)skynet(dot)be>
To: <pgsql-general(at)postgresql(dot)org>
Sent: Wednesday, February 20, 2002 3:58 PM
Subject: [GENERAL] deleting an identical record


> In a table I entered by accident two times the same record, if I now
> list the table I see two lines with exactly the same contents. How can
> I delete one of those two records? I can't find a select criterium which
> differs for both.
>
> regards,
> Hugo
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>

Browse pgsql-general by date

  From Date Subject
Next Message Steve Wolfe 2002-02-21 22:41:51 Re: A Replication Idea
Previous Message Bruce Momjian 2002-02-21 22:33:21 Re: batch file