Asynchronous query execution

Поиск
Список
Период
Сортировка
Искать

Asynchronous query execution

От:
c k <shreeseva.learning@gmail.com>
Дата:
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?

Waiting for you response.

CPK

Re: [GENERAL] Asynchronous query execution

От:
Robert Gravsjö <robert@blogg.se>
Дата:


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ö
FAQ