Re: [BUGS] libpq does not manage SSL callbacks properly when other libraries are involved.

2008-08-29 Thread PoolSnoopy
***PUSH*** this bug is really some annoyance if you use automatic build environments. I'm using phpunit to run tests and as soon as postgres is involved the php cli environment segfaults at the end. this can be worked around by disabling ssl but it would be great if the underlying bug got fixed.

Re: [BUGS] libpq does not manage SSL callbacks properly when other libraries are involved.

2008-08-29 Thread Alvaro Herrera
PoolSnoopy wrote: ***PUSH*** this bug is really some annoyance if you use automatic build environments. I'm using phpunit to run tests and as soon as postgres is involved the php cli environment segfaults at the end. this can be worked around by disabling ssl but it would be great if the

[BUGS] PG 8.3.3 - ERROR: lock AccessShareLock on object 16385/16467/0 is already held

2008-08-29 Thread Michael Milligan
Uh oh. This is a first (for me). I got this error on a transaction, it did not crash the server but did abort the transaction (of course). ERROR: lock AccessShareLock on object 16385/16467/0 is already held What was I doing? A large transaction where I was pushing about 20 million rows into

Re: [BUGS] PG 8.3.3 - ERROR: lock AccessShareLock on object 16385/16467/0 is already held

2008-08-29 Thread Michael Milligan
Heikki Linnakangas wrote: Michael Milligan wrote: Uh oh. This is a first (for me). I got this error on a transaction, it did not crash the server but did abort the transaction (of course). ERROR: lock AccessShareLock on object 16385/16467/0 is already held What was I doing? A large

Re: [BUGS] PG 8.3.3 - ERROR: lock AccessShareLock on object 16385/16467/0 is already held

2008-08-29 Thread Michael Milligan
Tom Lane wrote: Michael Milligan [EMAIL PROTECTED] writes: Uh oh. This is a first (for me). I got this error on a transaction, it did not crash the server but did abort the transaction (of course). ERROR: lock AccessShareLock on object 16385/16467/0 is already held Huh, that shouldn't

Re: [BUGS] PG 8.3.3 - ERROR: lock AccessShareLock on object 16385/16467/0 is already held

2008-08-29 Thread Tom Lane
Michael Milligan [EMAIL PROTECTED] writes: Tom Lane wrote: Huh, that shouldn't happen. What object is that? The 16385 should be a database OID, and the 16467 is most likely a table's OID within that database. Please answer the above question. And a correction, the transaction that caused

Re: [BUGS] PG 8.3.3 - ERROR: lock AccessShareLock on object 16385/16467/0 is already held

2008-08-29 Thread Michael Milligan
Tom Lane wrote: Michael Milligan [EMAIL PROTECTED] writes: Tom Lane wrote: Huh, that shouldn't happen. What object is that? The 16385 should be a database OID, and the 16467 is most likely a table's OID within that database. Please answer the above question. 16385 is the database (db)

Re: [BUGS] PG 8.3.3 - ERROR: lock AccessShareLock on object 16385/16467/0 is already held

2008-08-29 Thread Tom Lane
Michael Milligan [EMAIL PROTECTED] writes: Tom Lane wrote: Once you've determined which table the error message is talking about, please show us what the transaction does with that table. You mean like: BEGIN; PREPARE msg (...) INSERT INTO email VALUES (...); EXECUTE msg (...) EXECUTE

Re: [BUGS] PG 8.3.3 - ERROR: lock AccessShareLock on object 16385/16467/0 is already held

2008-08-29 Thread Michael Milligan
Tom Lane wrote: Michael Milligan [EMAIL PROTECTED] writes: Tom Lane wrote: Once you've determined which table the error message is talking about, please show us what the transaction does with that table. You mean like: BEGIN; PREPARE msg (...) INSERT INTO email VALUES (...); EXECUTE

Re: [BUGS] PG 8.3.3 - ERROR: lock AccessShareLock on object 16385/16467/0 is already held

2008-08-29 Thread Michael Milligan
Tom Lane wrote: What I'm wondering about is the sequence of operations that are executed per row. Could it be long enough that the email table is being touched by more than 2 billion separate SQL operations within the transaction? FWIW, I've used the exact same code against PG 8.2.6 and

Re: [BUGS] PG 8.3.3 - ERROR: lock AccessShareLock on object 16385/16467/0 is already held

2008-08-29 Thread Tom Lane
Michael Milligan [EMAIL PROTECTED] writes: FWIW, I've used the exact same code against PG 8.2.6 and have half a dozen similar transactions that inserted more than 13.5 million rows, with the largest transaction at a little over 25 million rows inserted into the email table. Hmph. That seems

Re: [BUGS] PG 8.3.3 - ERROR: lock AccessShareLock on object 16385/16467/0 is already held

2008-08-29 Thread Michael Milligan
Tom Lane wrote: Michael Milligan [EMAIL PROTECTED] writes: FWIW, I've used the exact same code against PG 8.2.6 and have half a dozen similar transactions that inserted more than 13.5 million rows, with the largest transaction at a little over 25 million rows inserted into the email table.