Re: [GENERAL] Request to confirm which command is use for exclusive operation

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: [GENERAL] Request to confirm which command is use for exclusive operation
Дата
Msg-id CAOR=d=1eoibsOCOcn738jO--c2thtcoF87EhEC_BYJP=XhVwJA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [GENERAL] Request to confirm which command is use for exclusive operation  (Scott Marlowe <scott.marlowe@gmail.com>)
Ответы Re: [GENERAL] Request to confirm which command is use for exclusive operation
Список pgsql-general
On Tue, Mar 7, 2017 at 11:55 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:
> On Tue, Mar 7, 2017 at 11:21 PM, Yogesh Sharma <yogeshraj95@gmail.com> wrote:
>> Dear David,
>>
>>  I want to apply explicitly lock mechanism once inset operation is in
>> progress then REINDEX will wait.
>> And vice versa.
>> So, please let me know this type of handling is possible.
>> Regrds,
>> Yogesh
>
> Create two roles grant / revoke permissions as needed. maybe
> pg_stat_activity for locks etc

Also you could have a table with a simple token in it etc. active
process gets token, all other processes wait on it.


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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: [GENERAL] Request to confirm which command is use for exclusive operation
Следующее
От: vinny
Дата:
Сообщение: Re: [GENERAL] Postgres, apps, special characters and UTF-8 encoding