Re: [HACKERS] pg_upgrade + Ubuntu

2015-07-10 Thread Jim Nasby
On 7/10/15 2:20 PM, Mike Blackwell wrote: > postgres@ly19:~$ pg_config > You need to install postgresql-server-dev-X.Y for building a server-side > extension or libpq-dev for building a client-side application. > > Which is worse having to install yet another package or having

Re: [HACKERS] pg_upgrade + Ubuntu

2015-07-10 Thread Joshua D. Drake
On 07/10/2015 12:10 PM, Alvaro Herrera wrote: It seems to me that this is a Debian packaging issue, not an upstream issue, isn't it? If you want to fix the problem in this way, then surely whatever package contains pg_upgrade should also contain pg_config. Why are you not using pg_upgradeclus

Re: [HACKERS] pg_upgrade + Ubuntu

2015-07-10 Thread Mike Blackwell
On Fri, Jul 10, 2015 at 2:10 PM, Alvaro Herrera wrote: > Joshua D. Drake wrote: > > > > On 07/10/2015 11:01 AM, Mike Blackwell wrote: > > >Does pg_config show the correct location? > > Good idea but: > > > > postgres@ly19:~$ pg_config > > You need to install postgresql-server-dev-X.Y for buildin

Re: [HACKERS] pg_upgrade + Ubuntu

2015-07-10 Thread Alvaro Herrera
Joshua D. Drake wrote: > > On 07/10/2015 11:01 AM, Mike Blackwell wrote: > >Does pg_config show the correct location? If so, perhaps pg_upgrade > >could get the .conf location the same way rather than requiring a > >command line option. > > Good idea but: > > postgres@ly19:~$ pg_config > You ne

Re: [HACKERS] pg_upgrade + Ubuntu

2015-07-10 Thread Joshua D. Drake
On 07/10/2015 11:01 AM, Mike Blackwell wrote: Does pg_config show the correct location? If so, perhaps pg_upgrade could get the .conf location the same way rather than requiring a command line option. Good idea but: postgres@ly19:~$ pg_config You need to install postgresql-server-dev-X.Y for

Re: [HACKERS] pg_upgrade + Ubuntu

2015-07-10 Thread Mike Blackwell
Does pg_config show the correct location? If so, perhaps pg_upgrade could get the .conf location the same way rather than requiring a command line option. __ *Mike Blackwell | Technical Analyst, Distribution Services/

[HACKERS] pg_upgrade + Ubuntu

2015-07-10 Thread Joshua D. Drake
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_permi