Tomasz Zielonka <[EMAIL PROTECTED]> writes: > Platform: PostgreSQL 7.1.3, Linux 2.4.8, egcs 2.91.66 > PostgreSQL forgets to release lock until shutdown in this scenario: This seems to be a real bug, but I don't like your proposed fix... the problem evidently is that some lock structure is not being cleaned up, and I don't see how this change relates to that. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html