From: Robert Gravsjö <robert@blogg.se>
To: c k <shreeseva.learning@gmail.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-admin@postgresql.org
Subject: Re: [GENERAL] Asynchronous query execution
Date: Wed, 08 Dec 2010 15:01:38 +0100
Message-ID: <4CFF8FC2.1000401@blogg.se> (raw)
In-Reply-To: <AANLkTimU+OEjrMZCD0=bsW9qHPSAgJ1RTBymV=7j-wS7@mail.gmail.com>
References: <AANLkTimU+OEjrMZCD0=bsW9qHPSAgJ1RTBymV=7j-wS7@mail.gmail.com>
On 2010-12-08 14.35, c k wrote:
> Hello,
> I would like to know how can we execute the queries asynchronously?
> If we use and execute plpgsql functions they just completes the execution or
> throws an error on error. In between next sql statement waits for the
> previous one to complete the execution. But in few situations it is required
> not to wait for getting the completion of previous sql statement. How can
> this e achieved?
Is this what you're looking for:
http://www.postgresql.org/docs/current/interactive/libpq-async.html>
> Waiting for you response.
>
> CPK
>
--
Regards,
Robert "roppert" Gravsjö
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: robert@blogg.se, shreeseva.learning@gmail.com, pgsql-general@postgresql.org
Subject: Re: [GENERAL] Asynchronous query execution
In-Reply-To: <4CFF8FC2.1000401@blogg.se>
* 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