Thread: pgsql: Move setup_cancel_handler() up near start of psql main(), where

pgsql: Move setup_cancel_handler() up near start of psql main(), where

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Move setup_cancel_handler() up near start of psql main(), where the
setup_win32_locks() call formerly was, to ensure that cancelConnLock is
valid when it needs to be.  Per Yoshiyuki Asaba.

Modified Files:
--------------
    pgsql/src/bin/psql:
        startup.c (r1.133 -> r1.134)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/startup.c.diff?r1=1.133&r2=1.134)