Re: [GENERAL] Asynchronous query execution

From: Robert Gravsjö <robert(at)blogg(dot)se>
To: c k <shreeseva(dot)learning(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org
Subject: Re: [GENERAL] Asynchronous query execution
Date: 2010-12-08 14:01:38
Message-ID: 4CFF8FC2.1000401@blogg.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

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ö

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Merlin Moncure 2010-12-08 15:32:02 Re: Asynchronous query execution
Previous Message John R Pierce 2010-12-08 13:40:32 Re: Asynchronous query execution

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2010-12-08 14:34:26 Re: Maximum size for char or varchar with limit
Previous Message Rob Gansevles 2010-12-08 13:47:25 Maximum size for char or varchar with limit