Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uq43P-0005Z2-CM for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Jun 2013 16:19:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Uq43O-0000TR-N1 for pgsql-bugs@arkaria.postgresql.org; Fri, 21 Jun 2013 16:19:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uq3Hc-0007NJ-E0 for pgsql-bugs@postgresql.org; Fri, 21 Jun 2013 15:29:52 +0000 Received: from mail39.extendcp.co.uk ([79.170.44.39]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Uq3HR-0001XG-3o for pgsql-bugs@postgresql.org; Fri, 21 Jun 2013 15:29:51 +0000 Received: from host-78-144-56-161.as13285.net ([78.144.56.161] helo=SDBPC2) by mail39.extendcp.com with esmtpa (Exim 4.80.1) id 1Uq3HK-0007GP-Uh for pgsql-bugs@postgresql.org; Fri, 21 Jun 2013 16:29:39 +0100 From: "Stephen Brearley" To: Subject: Postgres 9.2.4 for Windows (Vista) Dell Vostro 400, re-installation failure Date: Fri, 21 Jun 2013 16:29:24 +0100 Message-ID: <000701ce6e94$1d461370$57d23a50$@name> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0008_01CE6E9C.7F0A7B70" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac5ulBwQv19J3rsqSdC+jq/scZnsgA== Content-Language: en-gb X-Authenticated-As: mail@stephenbrearley.name X-Pg-Spam-Score: -0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org This is a multi-part message in MIME format. ------=_NextPart_000_0008_01CE6E9C.7F0A7B70 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0009_01CE6E9C.7F166250" ------=_NextPart_001_0009_01CE6E9C.7F166250 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi Folks Context As a beginner, I recently had problems specifying check constraints on tables in Navicat for Postgres since this software kept helpfully responding with 'syntax error', although I could not see what underlying SQL it was producing, so I decided to try learning pgadmin. On trying to get access to my database using this tool, I now had Server groups, Servers and localhost (only had myConnection, Database and Schema in Navicat), so I double-clicked on localhost to provide a password. I had no idea what this was, so decided to uninstall Postgres to try and re-set it. I have subsequently remembered what this was, and was asked again for a new one on re-install, which I provided. Think it was the same as what I originally had. The Problem On re-installing Postgres, I have not been able to get it to work. During re-installation I get an error message to say the program exited with an error code, but otherwise appears to be okay. However, when I go into pgadmin and enter my password to connect to the server (any password gives the same response), I get a popup saying 'Server doesn't listen', could not connect, connection refused etc'. The setup defaults to port 5432 during the install process. I've checked postgresql.conf which has not been installed, but I've looked at an old copy that I moved into the data folder, and that looks at port 5432. Navicat also fails to connect. Postgres was working okay before, so I don't think it's a problem with my system or firewall, as I have not changed anything. After my initial install, I edited the registry to point to the D: drive, as I prefer to have my data stored on a separate partition, and this worked okay. The uninstall leaves the data folder intact, and appears to leave the old service password in case other services use it. Consequently it will not allow me access to pg.log, even with administrator privileges, only by using pgadmin. The Postgres install will not install with a data folder that is not empty, so I had to re-name my data folder to data_old, and moved the contents back in afterwards. The registry seems to be pointing to the right place to find my data.