Re: [BUGS] BUG #1459: Connection hangs when other connection is not committed

2005-02-04 Thread Peter Eisentraut
Am Freitag, 4. Februar 2005 11:54 schrieb Rainer Frey: > Thanks for the explanation, though I don't really get the necessity of a > commit for a read-only statement. Can't a SELECT release its lock after > it received the response? If that is the end of the transaction, then you might as well comm

Re: [BUGS] BUG #1459: Connection hangs when other connection is not committed

2005-02-04 Thread Peter Eisentraut
Am Donnerstag, 3. Februar 2005 16:11 schrieb Rainer Frey: > A select should not lock a table even when it is not committed. The SELECT obtains a read (shared) lock on the table, but the ALTER TABLE requires a write (exclusive) lock. This is certainly necessary because you don't want the structu