The only thing I can think of is that there's a foreign key from foo to bar(id), but the create index on bar shouldn't prevent a share lock on foo, even if such a restriction exists. -- Martín Marqués http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных