pg_upgrade unrecognized configuration parameter “unix_socket_directory”

From: Clodoaldo Neto <clodoaldo(dot)pinto(dot)neto(at)gmail(dot)com>
To: PostgreSQL - General ML <pgsql-general(at)postgresql(dot)org>
Subject: pg_upgrade unrecognized configuration parameter “unix_socket_directory”
Date: 2013-09-18 16:35:20
Message-ID: CA+Z73LFjh8Ok+VSYM=68YpDV_rd5kExQfNHvP+oHERYcYXVKWg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm trying to upgrade Postgresql from 9.2 to 9.3 in Fedora 18 using this
command as the postgres user

$ pg_upgrade -b /bin -B /usr/pgsql-9.3/bin -d /var/lib/pgsql/data -D
/var/lib/pgsql/9.3/data/ -j 2 -u postgres

The error in the log:

command: "/bin/pg_ctl" -w -l "pg_upgrade_server.log" -D
"/var/lib/pgsql/data" -o "-p 50432 -b -c listen_addresses='' -c
unix_socket_permissions=0700 -c unix_socket_directory='/var/lib/pgsql'"
start >> "pg_upgrade_server.log" 2>&1
waiting for server to start....FATAL: unrecognized configuration parameter
"unix_socket_directory"
.... stopped waiting
pg_ctl: could not start server

That parameter was replaced by unix_socket_directories (plural) in 9.3. But
the server version being started is 9.2:

$ /bin/pg_ctl --version
pg_ctl (PostgreSQL) 9.2.4

What am I missing?

Regards, Clodoaldo

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Gabriel E. Sánchez Martínez 2013-09-18 16:36:03 Re: nested partitioning
Previous Message Shaun Thomas 2013-09-18 16:20:06 Re: nested partitioning