X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id C58EE9FB1CD for ; Thu, 24 Aug 2006 10:32:53 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 63487-05 for ; Thu, 24 Aug 2006 13:32:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.237]) by postgresql.org (Postfix) with ESMTP id 2ECE09FB1CA for ; Thu, 24 Aug 2006 10:32:39 -0300 (ADT) Received: by wr-out-0506.google.com with SMTP id i31so139998wra for ; Thu, 24 Aug 2006 06:32:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=dIa1pm5xEvjVKBxQfztP8ixbvGVgNORlDl0bQobhodxkOSmjsNPmYA7f+CuHKQJabLSvqozV+pHBMX4mwtjIvSEkBNggnJ0YpvTkDBBmDIasG1KS+xELZLZ0FRvoxml+3mynDT6+BOSZXDcXi52OTbriTz5CqPuq9TcpSSVKDvI= Received: by 10.90.63.16 with SMTP id l16mr376321aga; Thu, 24 Aug 2006 06:32:38 -0700 (PDT) Received: by 10.90.67.9 with HTTP; Thu, 24 Aug 2006 06:32:37 -0700 (PDT) Message-ID: <1dc7f0e30608240632o79ce035cs2023dd23d8480f8e@mail.gmail.com> Date: Thu, 24 Aug 2006 09:32:37 -0400 From: "Alexandre Leclerc" To: "Thor Tall" Subject: Re: Slow delete/insert. Cc: pgsql-admin@postgresql.org In-Reply-To: <20060824130209.47857.qmail@web50303.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1dc7f0e30608240508t49a208acnbe26769e1b6f669d@mail.gmail.com> <20060824130209.47857.qmail@web50303.mail.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.816 tagged_above=0 required=5 tests=SPF_HELO_SOFTFAIL, SPF_SOFTFAIL X-Spam-Level: *** X-Archive-Number: 200608/265 X-Sequence-Number: 22808 2006/8/24, Thor Tall : > The messages are split on the client side and PQexec > are called with INSERT/DELETE statements. > I have seen that I could use PQprepare and > PQexecPrepared but I doubt that it would help a lot to > use those functions? /Usually/, they are always called internally if not by the coder; it is good practice to call them. It does optimize the speed. -- Alexandre Leclerc