pg_upgrade + Ubuntu

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_upgrade + Ubuntu
Date: 2015-07-10 17:40:20
Message-ID: 55A00384.4030706@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Hackers,

Simple problem (I think):

9.4 version of pg_upgrade said:

"/usr/lib/postgresql/9.4/bin/pg_ctl" -w -l "pg_upgrade_server.log" -D
"/var/lib/postgresql/9.4/main" -o "-p 9400 -b -c synchronous_commit=off
-c fsync=off -c full_page_writes=off -c listen_addresses='' -c
unix_socket_permissions=0700 -c
unix_socket_directories='/var/lib/postgresql'" start

postgres cannot access the server configuration file
"/var/lib/postgresql/9.4/main/postgresql.conf": No such file or directory

The issue is Debian/Ubuntu etc... don't have a postgresql.conf in the
cluster. They keep it separately in /etc/postgresql.

Could we get a flag that allows us to specifically point to where the
conf filesare?

JD
--
Command Prompt, Inc. - http://www.commandprompt.com/ 503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Announcing "I'm offended" is basically telling the world you can't
control your own emotions, so everyone else should do it for you.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2015-07-10 17:59:40 Re: pg_upgrade + Extensions
Previous Message David E. Wheeler 2015-07-10 17:28:33 pg_upgrade + Extensions