Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iyiKC-0002rI-Fs for pgsql-general@arkaria.postgresql.org; Mon, 03 Feb 2020 20:28:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iyiJD-0000Al-8R for pgsql-general@arkaria.postgresql.org; Mon, 03 Feb 2020 20:27:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iyiJB-0000Ad-Eu for pgsql-general@lists.postgresql.org; Mon, 03 Feb 2020 20:27:02 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iyiJ2-0003dw-FT for pgsql-general@lists.postgresql.org; Mon, 03 Feb 2020 20:27:01 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id B277B21ED6; Mon, 3 Feb 2020 15:26:49 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Mon, 03 Feb 2020 15:26:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=g NnKdTe3go7WOeG4rZBGIxnqmhOg/3n9GD7dNbKm7xg=; b=W3zn7P+OSWk3arDGc +ky06J9xa7C3W4cvYC6Pj8Nlkff+N3hRG91MhP7/jEPpLxSrZFp9ypMeJVQ96yky jgDDYUnfp62lcsmGc07CGC5rW+x3qXCK5rrWeMYYJGy1kDmOlSpgGL2V34+BfmLi baQ38DGC7AuHe1jLYpuObWNzoNzM0/mRGZ4CV2rs/t5DQx1bQ6hyIQw2zlZcAE0q WUFAxbUhLaSQPNA6uJIXWa5nOSevKa+lzXhpGTPNLP0o5ANUSu7wUVvUcMO2J9tl fhjXOCTZlg/cG3r/XXqyyM+4A1eUPQ7irP9JALbFEi3e1oHmTCy/ziIqsGRY4koN G2G5A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=gNnKdTe3go7WOeG4rZBGIxnqmhOg/3n9GD7dNbKm7 xg=; b=ttAZXiaCwOPQCpwXzFegrymg6ceS5HKxN7hYJThiirUvdHCujd7pRwkSG qQOWHABP4xFW347SEV//5DJ+LdQZ2t+1mF/vmjVJZq+hhUSHAVVl4qfZGXlexDkS ugw1rSzMVOKxq9cBQr1rdM6qitix3DXjWWO6PZEYx4pvbmHgzUOrck2+bo7RghJR +peOvoFHzBAPYhaGYfO4jrsM3f0b6/GuTNNdjcTwG8KxdgVhCPkVvcuoP5Uyyb5W UFQ7Zk8iq5iQO/AilSFIYHSoj0wHnuoD2BLxFhi9MjzWhGc9xdPbk+h7WrOpsJT+ Ha/2leNifXktST5rxdxDwX6P51dIA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrgeejgddufeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucffohhmrghinhepphhgpgdtuddrphhlnecukfhppeejuddrvdduvddruddvledr udelfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe grughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Received: from [192.168.1.10] (unknown [71.212.129.193]) by mail.messagingengine.com (Postfix) with ESMTPA id F393A30600DC; Mon, 3 Feb 2020 15:26:48 -0500 (EST) Subject: Re: Should I reinstall over current installation? To: Chris Charley , pgsql-general@lists.postgresql.org References: From: Adrian Klaver Message-ID: <3fcd49b4-6ef4-cc19-878b-2a14c9ef6db4@aklaver.com> Date: Mon, 3 Feb 2020 12:26:48 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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 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