Re: How to lock a table

Поиск
Список
Период
Сортировка
Искать
От
Thomas Lockhart
Тема
Re: How to lock a table
Дата
Msg-id
39634850.1113C069@alumni.caltech.edu
Список
Дерево обсуждения
How to lock a table "Morten W. Petersen" <morten@src.no>
> We're trying to use a unique-identifier scheme in a database; and
> therefore we need to put a lock on a table.

Are you sure? Please describe the problem which absolutely requires a
full table-level lock...

> Is there some way to do this using the PyGres (python) adapter?

select * from t1 where 1 = 0;

or

lock table t1;

                      - Thomas
В списке pgsql-general по дате отправления
От: jprem
Дата:
От: James L. Hall
Дата:
Сообщение: pg respawning too fast
FAQ