X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id BAC30D8000 for ; Mon, 5 Sep 2005 06:26:38 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 32485-08 for ; Mon, 5 Sep 2005 09:26:34 +0000 (GMT) Received: from mail.androme.com (mail.androme.com [62.58.96.145]) by svr1.postgresql.org (Postfix) with ESMTP id 91362D80AD for ; Mon, 5 Sep 2005 06:26:34 -0300 (ADT) Received: from [127.0.0.1] ([192.168.10.56]) by mail.androme.com (8.12.10/8.12.10) with ESMTP id j859QWxx026610 for ; Mon, 5 Sep 2005 11:26:35 +0200 Message-ID: <431C0F48.5050809@andromeiberica.com> Date: Mon, 05 Sep 2005 11:26:32 +0200 From: Arnau Reply-To: arnaulist@andromeiberica.com User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Advise about how to delete entries References: <43183AC9.1060704@andromeiberica.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200509/72 X-Sequence-Number: 14380 Hi all, > > COPY FROM a file with all the ID's to delete, into a temporary table, and do a joined delete to your main table (thus, only one query). I already did this, but I don't have idea about how to do this join, could you give me a hint ;-) ? Thank you very much -- Arnau