Re: pg_upgrade: "pg_ctl failed to start the new server"

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Evan D(dot) Hoffman" <evandhoffman(at)gmail(dot)com>
Cc: Postgresql Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_upgrade: "pg_ctl failed to start the new server"
Date: 2012-06-16 00:01:51
Message-ID: 20120616000151.GA32082@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Jun 14, 2012 at 08:03:49AM -0400, Evan D. Hoffman wrote:
> So it appears the problem was inability to connect, although
> pg_upgrade reported that it couldn't start the server (I assume
> ability to connect is how it determines whether or not the server was
> started).

Ah, OK, so it was the connection that failed. I wasn't aware pg_ctl
start could fail in that case (we added PGping), but obviously it can.

The attached patch applied to PG 9.2 and current will give a more
appropriate error message saying it might be a connection problem.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

Attachment Content-Type Size
pg_upgrade.diff text/x-diff 724 bytes

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gabriele Bartolini 2012-06-16 06:13:46 Re: Smaller multiple tables or one large table?
Previous Message Mark Phillips 2012-06-15 20:20:52 Re: full text index / search