From: Alexandre Leclerc <alexandre.leclerc@gmail.com>
To: Thor Tall <tall_thor@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Slow delete/insert.
Date: Thu, 24 Aug 2006 09:32:37 -0400
Message-ID: <1dc7f0e30608240632o79ce035cs2023dd23d8480f8e@mail.gmail.com> (raw)
In-Reply-To: <20060824130209.47857.qmail@web50303.mail.yahoo.com>
References: <1dc7f0e30608240508t49a208acnbe26769e1b6f669d@mail.gmail.com>
<20060824130209.47857.qmail@web50303.mail.yahoo.com>
2006/8/24, Thor Tall <tall_thor@yahoo.com>:
> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: alexandre.leclerc@gmail.com, tall_thor@yahoo.com
Subject: Re: Slow delete/insert.
In-Reply-To: <1dc7f0e30608240632o79ce035cs2023dd23d8480f8e@mail.gmail.com>
References: <1dc7f0e30608240508t49a208acnbe26769e1b6f669d@mail.gmail.com> <20060824130209.47857.qmail@web50303.mail.yahoo.com> <1dc7f0e30608240632o79ce035cs2023dd23d8480f8e@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox