Yes that would be the standard approach. But the Debian package removes pg_ctl from it normal place and wraps it with a perl script in a way that makes it difficult to work with (it doesn’t accept the same arguments): @Mangnus, can you give me an example of how I might use pg_lsclusters and pg_ctlcluster? I’ve tried: pg_ctlcluster 9.4 main start Error: could not exec start -D /var/lib/postgresql/9.4/main -l /var/log/postgresql/postgresql-9.4-main.log -s -o -c config_file="/etc/postgresql/9.4/main/postgresql.conf” -Shawn
|