Re: How to lock a table
Re: How to lock a table
От:
Thomas Lockhart <lockhart@alumni.caltech.edu>
Дата:
> 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
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. Is there some way to do this using the PyGres (python) adapter? -Morten ------------------------------------------------------------- How to reply to email: http://home.sol.no/~vidaandr/news/OBSquoting.html (norsk) http://home.sol.no/~vidaandr/news/FAQquoting.html (english) Who is the bigger fool? The fool or the fool who follows him?