Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 7D5A0F47F71 for ; Wed, 28 Dec 2011 10:38:46 -0400 (AST) Received: from mail-wi0-f174.google.com ([209.85.212.174]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RfueQ-0007Gb-Dn for pgsql-admin@postgresql.org; Wed, 28 Dec 2011 14:38:46 +0000 Received: by wibhm6 with SMTP id hm6so5623830wib.19 for ; Wed, 28 Dec 2011 06:38:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=iOqwP4fBYlEinzArGr8EkS3BJjxOrK2/PEjm+V+prhc=; b=q9IIH5/KyaLDCBaY17Lm15fHgBsicFgCewJSL2jntwoMznEE8GRo5n6JezepBIp7sX hdVg13nqcTfuWqxCc9fYFdv2MvPKTAsUY3DbwRO0c38UsXJovXbld2cl7R6XVNCFogCq y7xJUa+FhrNlp5AV2gPfQ6nnCcbT4fPrZTepQ= Received: by 10.180.96.72 with SMTP id dq8mr70554634wib.10.1325083109040; Wed, 28 Dec 2011 06:38:29 -0800 (PST) Received: from zeus.local (88-149-210-234.dynamic.ngi.it. [88.149.210.234]) by mx.google.com with ESMTPS id w8sm75005254wiz.4.2011.12.28.06.38.27 (version=SSLv3 cipher=OTHER); Wed, 28 Dec 2011 06:38:27 -0800 (PST) Message-ID: <4EFB29E2.3060104@gmail.com> Date: Wed, 28 Dec 2011 15:38:26 +0100 From: Alexander Fortin User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: Can't get pg_upgrade work for 8.4 References: <4EF0A59B.9080202@gmail.com> In-Reply-To: <4EF0A59B.9080202@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201112/149 X-Sequence-Number: 38907 Seems that the problem resides in the pg_ctl packaged with Ubuntu 10.04, the only way we found to fix this was to recompile Postgresql 8.4.9 from sources using the following patch, than instruct pg_upgrade (9.1.2) to use the hand compiled pg_ctl instead of the original one (a raw symlink did the job). Here's the patch, maybe someone could need it. *** pg_ctl.c.orig 2011-12-27 14:52:27.000000000 +0000 --- pg_ctl.c 2011-12-27 15:20:25.000000000 +0000 *************** *** 503,509 **** * probably timeout first */ snprintf(connstr, sizeof(connstr), ! "dbname=postgres port=%s connect_timeout=5", portstr); for (i = 0; i < wait_seconds; i++) { --- 503,509 ---- * probably timeout first */ snprintf(connstr, sizeof(connstr), ! "dbname=postgres port=%s connect_timeout=5 host=localhost", portstr); for (i = 0; i < wait_seconds; i++) { Happy new year! -- Alexander Fortin http://about.me/alexanderfortin/