X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 55D26D1B8A5 for ; Mon, 18 Aug 2003 06:19:52 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 28179-06 for ; Mon, 18 Aug 2003 03:19:41 -0300 (ADT) Received: from smtp.pspl.co.in (unknown [202.54.11.65]) by svr1.postgresql.org (Postfix) with ESMTP id 9F2D0D1B89E for ; Mon, 18 Aug 2003 03:19:37 -0300 (ADT) Received: (from root@localhost) by smtp.pspl.co.in (8.12.9/8.12.9) id h7I6NVfO003466 for ; Mon, 18 Aug 2003 11:53:31 +0530 Received: from daithan (daithan.intranet.pspl.co.in [192.168.7.161]) (authenticated bits=0) by persistent.co.in (8.12.9/8.12.9) with ESMTP id h7I6NU3g003453 for ; Mon, 18 Aug 2003 11:53:31 +0530 From: "Shridhar Daithankar" To: pgsql-performance@postgresql.org Date: Mon, 18 Aug 2003 11:51:32 +0530 MIME-Version: 1.0 Subject: Re: Insert performance Reply-To: shridhar_daithankar@persistent.co.in Message-ID: <3F40BDC4.1605.9407ADF@localhost> In-reply-to: <200308161140.59764.josh@agliodbs.com> References: <3F3E3B47.13828.333B51D9@localhost> X-mailer: Pegasus Mail for Windows (v4.12a) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/282 X-Sequence-Number: 3098 On 16 Aug 2003 at 11:40, Josh Berkus wrote: > Shridhar, > > > Unfortunately he can not use copy due to some constraints. > > Why not use COPY to load the table, and then apply the constraints by query > afterwords? It might not be faster, but then again it might. Lol.. The constraints I mentioned weren't database constraints.. It need to interface with another database module.. The data import can not be text.. that's a project requirement.. I should have been clearer in first place.. Bye Shridhar -- O'Toole's commentary on Murphy's Law: Murphy was an optimist.