Yoshiyuki Asaba <y-asaba(at)sraoss(dot)co(dot)jp> writes:
> cancelConnLock is not initialized (InitializeCriticalSection()) at
> startup.c when psql execute with '-c' option.
Doh! My fault.
> Is the following patch right?
I think we should just move the setup_cancel_handler call up earlier in
startup.c.
regards, tom lane