psql: Set up cancel handler later
The cancel handler was uselessly set up even before the first connection
was opened. By setting it up afterwards, the user can use Ctrl+C to
abort psql if the initial connection attempt hangs.
Reviewed-by: Dean Rasheed <dean.a.rasheed@gmail.com>
Reviewed-by: Ryan Kelly <rpkelly22@gmail.com>
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/9099e4afe0e4101bc79f078be3e15639a048e633
Modified Files
--------------
src/bin/psql/startup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)