pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Chris Charley <charleyc2718@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Should I reinstall over current installation?
Date: Mon, 3 Feb 2020 12:26:48 -0800
Message-ID: <3fcd49b4-6ef4-cc19-878b-2a14c9ef6db4@aklaver.com> (raw)
In-Reply-To: <CAN4LocCC6Y=LvYYFO_5670ydtXxEkkkB2zdW5Nusa8LbGyjH7A@mail.gmail.com>
References: <CAN4LocCC6Y=LvYYFO_5670ydtXxEkkkB2zdW5Nusa8LbGyjH7A@mail.gmail.com>

On 2/3/20 12:20 PM, Chris Charley wrote:
> I just got my Windows 10 computer in Nov 2019 and installed PostgreSQL 
> Jan this year.
> 
> I had a problem with Windows update and when I contacted Microsoft, they 
> installed a fresh operating system. After that, I was unable to run 
> postgres from pgAdmin 4 or from a perl program that accessed the database.
> 
> The message I got was:
> 
> could not connect to server: Connection refused (0x0000274D/10061) Is 
> the server running on host "localhost" (127.0.0.1) and accepting TCP/IP 
> connections on port 5432? at pg_01.pl <http://pg_01.pl; line 8.
> **//___^

Does Postgres still exist on the system?

If it does have you started the service?

> I  was considering 2 options:
> 
> !) Reinstall postgres over the current without removing the current 
> postgres first.
> 2) uninstall the current postgres and then install postgres again.
> 
> The tables I created in my database are not many and if I lose them 
> doing a reinstall, I could recreate my database and the tables. I was 
> considering option (1) as I was wondering if that choice would keep the 
> database and tables I created this January.
> 
> (The database and contained tables are from 'Practical SQL' by Anthony 
> DeBarros.)
> 
> A second question is: When I try to edit anything in pgAdmin, sometimes 
> it won't let me edit the code. I then refresh the database in the left 
> pane and then it allows me to edit the SQL in the query pane.
> 
> Thank you for any help you may provide.
> 
> Chris


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (13+ messages)  latest in thread

Message-ID: <3fcd49b4-6ef4-cc19-878b-2a14c9ef6db4@aklaver.com>
Permalink:  ../3fcd49b4-6ef4-cc19-878b-2a14c9ef6db4@aklaver.com/
Also on:    postgresql.org/message-id/3fcd49b4-6ef4-cc19-878b-2a14c9ef6db4@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, charleyc2718@gmail.com
  Subject: Re: Should I reinstall over current installation?
  In-Reply-To: <3fcd49b4-6ef4-cc19-878b-2a14c9ef6db4@aklaver.com>
  References: <CAN4LocCC6Y=LvYYFO_5670ydtXxEkkkB2zdW5Nusa8LbGyjH7A@mail.gmail.com> <3fcd49b4-6ef4-cc19-878b-2a14c9ef6db4@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox