Saya meningkatkan ke Postgres 9.2.2 (dari 9.1.4). Ketika saya mencoba memutakhirkan DB menggunakan:
pg_upgrade -b /usr/local/Cellar/postgresql/9.1.4/bin -B /usr/local/Cellar/postgresql/9.2.2/bin -d /usr/local/var/postgres91 -D /usr/local/var/postgres
Saya mendapatkan pesan kesalahan berikut:
Performing Consistency Checks
-----------------------------
Checking current, bin, and data directories ok
There seems to be a postmaster servicing the old cluster.
Please shutdown that postmaster and try again.
Failure, exiting
Saya sudah mencoba menghentikan server, tetapi tidak dapat menjalankan perintah pemutakhiran. Bagaimana cara saya mematikan postmaster lama?