Sbob <sbob@xxxxxxxxxxxxxxxxxxxxx> writes: > I am wanting to run pg_ctl as a command over ssh, however when I pass > start it hangs until I do a Ctl-C > $ ssh -T postgres@${node3} "/usr/pgsql-14/bin/pg_ctl -D > /var/lib/pgsql/14/data start" If you don't specify a log file (-l option to pg_ctl) then the postmaster's stdout doesn't get dissociated from the calling terminal, which likely explains why ssh doesn't think the session is done. regards, tom lane