I see RowExclusiveLocks for all the jdbc inserts

Real question is: Why do the INSERTS go into wait state as soon as the
lock table statement is issued on the parent?

-----Original Message-----
From: Tom Lane [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 29, 2006 11:10 AM
To: Sriram Dandapani
Cc: Matthew T. O'Connor; pgsql-admin@postgresql.org
Subject: Re: [ADMIN] autovacuum ignore tables 

"Sriram Dandapani" <[EMAIL PROTECTED]> writes:
> I tried your code with the lock table followed by drop.
> The lock table goes into a wait state AND all INSERTS (even new ones
> coming in) go into a wait state.

Well, it's waiting for something.  Try looking in pg_locks to see which
transaction is blocking it.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to