implementation of SET LOCK MODE TO [WAIT [seconds] | NOT WAIT] for ecpq

Поиск
Список
Период
Сортировка
От Nicolas Bazin
Тема implementation of SET LOCK MODE TO [WAIT [seconds] | NOT WAIT] for ecpq
Дата
Msg-id 005b01c1e9a3$c0a6ea30$660d090a@software.ingenico.com.au
обсуждение исходный текст
Список pgsql-interfaces
I need to avoid my process to wait for too long. This syntax is not supported by the BE so I thought I would modify ECPGexecute to use asynchronous functions instead of PQexec. The problem is the NOT WAIT mode which needs some sort of info from the BE to know whether the statement has immediatly started to be executed or is in a queue waiting for its turn.
Any idea or comment on this feature?
 

В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "Jeff Flowers"
Дата:
Сообщение: Beginner Programming Question
Следующее
От: Jimmy Andersson
Дата:
Сообщение: ERROR: No such attribute or function 'oid'