locks within select

Поиск
Список
Период
Сортировка
От Marc Millas
Тема locks within select
Дата
Msg-id CADX_1abA6Ykusa4m2WPv6wHfH1ZoCG=gZ+VJS2EFe0HaGB_1Rw@mail.gmail.com
обсуждение исходный текст
Ответы Re: locks within select  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
Hi,

To my understanding, a select on a table does acquire an access share lock on that table.
my question is: is there any other kind of lock that a select may acquire ?
obviously, all explicit locking schemes like select for update, etc... is out of this question scope.

I was wondering if for example, within a join, some kind of lock may be acquired so that the dataset concerned is not changed during execution ? (for example a delete then autovacuum ??)

thanks


Marc MILLAS
Senior Architect
+33607850334

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Why can't I have a "language sql" anonymous block?
Следующее
От: Marc Millas
Дата:
Сообщение: log shipping with pg_receivewal