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(dot)a(dot)rasheed(at)gmail(dot)com>
Reviewed-by: Ryan Kelly <rpkelly22(at)gmail(dot)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(-)