> 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