Re: Advisory locks seem rather broken

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Advisory locks seem rather broken
Дата
Msg-id CAHyXU0ybpOfw8HCvHJtfjMrwYS3ZAk0PCvxUh9Zu_upA-AV0_Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Advisory locks seem rather broken  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Advisory locks seem rather broken  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, May 3, 2012 at 11:04 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I'm inclined to think that a saner implementation would involve
> splitting the userlock lockmethod into two, one transactional and one
> not.  That gets rid of the when-to-release kluges, but instead we have
> to think of a way for two different lockmethods to share the same
> lock keyspace.  If we don't split it then we definitely need to figure
> out someplace else to keep the transactionality flag.

hm, would that be exposed through the pg_locks view?  some users might
be running queries like "select * from pg_locks where
locktype='advisory' and ..."

it's a minor point, but ideally if they share the same lockspace the
same locktype would be reported in the view.

merlin


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: remove dead ports?
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Advisory locks seem rather broken