Re: triggers, transactions and locks

Поиск
Список
Период
Сортировка
От C G
Тема Re: triggers, transactions and locks
Дата
Msg-id BAY101-F4283DCCDD95419315ACD40C5B40@phx.gbl
обсуждение исходный текст
Ответ на Re: triggers, transactions and locks  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-general

> > Is there a way to use locks within a trigger? My example below gives the
> > error:
>
>It's not the lock that's the problem I think. The begin work is failing
>because you can't start a transaction inside the function. Were you trying
>to release the lock at the commit in the function?
Yes I was using the commit to release the lock.



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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: triggers, transactions and locks
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Index bloat in 7.2