Slide 33
Slide 33 text
bg and SIGHUP
Few fixes if you get
disconnected:
psql, like most
programs, will exit
gracefully on a TERM.
Use “pkill -TERM psql”
to locate the job and
stop it that way.
$ pgrep -a psql;
54741 psql
$ kill -TERM 54741;
# or just
$ pkill -TERM psql;