Re: Functions and transactions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Functions and transactions
Дата
Msg-id 4363.1110567273@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Functions and transactions  (Kris Kiger <kris@musicrebellion.com>)
Список pgsql-admin
Kris Kiger <kris@musicrebellion.com> writes:
> Interesting.  That makes sense, though.  So, is there a good way to lock
> a set of rows using SELECT FOR UPDATE in plpgsql?  I assume using
> PERFORM would yield the same problem, because it immediately discards
> the results.

I think PERFORM would work.  The fact that plpgsql ignores the results
doesn't mean you don't have lock on the rows.

            regards, tom lane

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

Предыдущее
От: Adrian Nida
Дата:
Сообщение: Re: [HACKERS] PostgreSQL pam ldap document
Следующее
От: Dick Davies
Дата:
Сообщение: Re: [HACKERS] PostgreSQL pam ldap document