Marcus Whitney <marcus(at)coldfeetcreative(dot)com> writes:
> I have an instance where I have a series of pl/pgsql calls, that report stat
> results to a common table. When other queries try to hit the stat table
> (with DML commands; SELECT, INSERT, UPDATE, DELETE etc.) they are forced to
> wait in a queue until the pl/pgsql has finished executing.
This is quite hard to believe, unless your pl/pgsql is doing something
as unfriendly as LOCKing the table.
Do you want to post a more complete description of your problem?
regards, tom lane