Lee Kwok Shing <kslee(at)graduate(dot)hku(dot)hk> writes:
> for something since the following statements are execution repeatedly
> select (0, NULL, NULL, .....
Sounds like the backends are waiting for a spinlock. Could you
provide a debugger stack trace?
regards, tom lane