Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1em1FG-0007zO-G2 for pgsql-general@arkaria.postgresql.org; Wed, 14 Feb 2018 17:53:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1em1FF-0003NG-EW for pgsql-general@arkaria.postgresql.org; Wed, 14 Feb 2018 17:53:25 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1em1FE-0003N5-Po for pgsql-general@lists.postgresql.org; Wed, 14 Feb 2018 17:53:25 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1em1F3-0008Hg-NZ for pgsql-general@postgresql.org; Wed, 14 Feb 2018 17:53:23 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id F183020C04; Wed, 14 Feb 2018 12:53:12 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Wed, 14 Feb 2018 12:53:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=zJJ4x9YZ4JbneMRGvZ1BE6WVE3MQ4 fS97OpIMhTCuoo=; b=KylAh+Qu3FukLkBOGfkuw3A0C2ImRt941C27u5RKLbkK6 QB7zb44vo+yXYRYa7mro8EQgHZFYoDkBPhY9V7pQ7xU8hLku9bzyKiVOEzsnT7kU zKh5kHKDqlqs8DlkSWOQnLdc22sW+WZFIlQ/JevCYSHfXr2/u8ZB6PQfjn5Ta8zv uZptClsxvh5bwJAYukSCOJLt95zjBtFk7A3SfPJD1T3o5IpbwU1xaW2TwTRBNLfw 7NoT0O5KEXliedissLCZL/Ge47zxL+cwLq/lNAHDANf0FiPeUmNqr5W3pzawY8RP Scxe2MiNctrfcB+EQtC+vPYMhemofTP9IiMDCyB1Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=zJJ4x9 YZ4JbneMRGvZ1BE6WVE3MQ4fS97OpIMhTCuoo=; b=fKM6oZ3mJnWm+ZKwRqlO1T 9MF+hpkQ4gXcC/iVN5xcoffjYeSps0+gxQ+lOQDYmyzplF9isOupuXGcowReTRNl QJMADChxdK/NB9RzsBqgUjXaym1oQ1pzt14GZ2JCThY/Z8yhRGHlYz0ZmsBocsR5 emiFsYdoz6u7KTwbEPgJFsfw14HmxyrgNFqyeiM6IDrt58YwsN6qfJhRYXOV7RCb 7nkhURHqvD+tmxw/7G8/xWa84l+/63b3KNm4/YNBJBlNoh3i32ERzpcB9TdBNqKv jUtGK4ZS2fZTBdYGWk/3omae6Ldk66NxIdwglZzWXY149FhkonCvwRQKpNPxkP9Q == X-ME-Sender: Received: from [192.168.1.3] (71-212-36-41.tukw.qwest.net [71.212.36.41]) by mail.messagingengine.com (Postfix) with ESMTPA id 7B51524235; Wed, 14 Feb 2018 12:53:12 -0500 (EST) Subject: Re: Windows 10 Pro issue To: Dale Seaburg References: <63711a21-df4c-b2c4-3d18-fcc04d700e21@verizon.net> Cc: pgsql-general From: Adrian Klaver Message-ID: Date: Wed, 14 Feb 2018 09:53:11 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <63711a21-df4c-b2c4-3d18-fcc04d700e21@verizon.net> 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 02/14/2018 09:28 AM, Dale Seaburg wrote: CCing list so more eyes can see this >> Is the pg_hba.conf file actually there? > > Yes, the pg_hba.conf is in the "proper path" - C:\Program Files > (x86)\PostgreSQL\8.4\data > Footnote: at the user level or system level I do not see any environment > variables (EV) pointing to the above path. > Not sure whether an EV is even needed. > >> >> If it is there have the permissions changed on it or the directories >> above? >> > > As far as I can tell permissions are OK to the above directory, and > .conf files. You might to take a look at this post if you have not already: https://www.postgresql.org/message-id/14113c03-cbd9-584a-9ec1-6412d5606404%40tpg.com.au > > More importantly, how do I go about building a backup of the data, so I > can do an upgrade to a much later release, like 9.6 or so without having > the postgres service running?  Hate to sound so ignorant, but I've not > had to "travel down this road" before. > What would be the best approach to upgrading, without the '.\postgres' > service running? Important, before you do any of this for real I would plan on creating a test area or doing this on another similar machine to get the process down. Migrating from 8.4 to 9.6 is a major version to major version upgrade. It also represents a sizable number of changes. Not sure how much you know about what is going on in the database. Still it would not hurt to go here: https://www.postgresql.org/docs/10/static/release.html A versioning number note, prior to latest version 10 Postgres used a three number system X.Y.z where X and Y represented a major upgrade and z represented bug fix/security fix releases. With 10 the system changed to X.y where X is the major version and y is bug fix/security fix. I mention that because when going through the release notes you really only need to concentrate on the notes for X.Y(<10) and X(>=10). So for the next version after 8.4, which is 9.0: https://www.postgresql.org/docs/10/static/release-9-0.html You want to concentrate on: E.136.2. Migration to Version 9.0 https://www.postgresql.org/docs/10/static/release-9-0.html#id-1.11.6.140.4 E.136.3. Changes https://www.postgresql.org/docs/10/static/release-9-0.html#id-1.11.6.140.5 You will not actually be migrating to 9.0 but the above will tell what changed relative to 8.4. Repeat for the other major releases to see what changed relative to the prior release. What is important to remember is that the changes are cumulative so the current latest version 10.2 will have the preceding changes. What you are looking for is any changes that may impact your code in the server or in client programs using the server. > > BTW, I have done backups before using pgAdmin, but, not the psql tool. Now this is where someone that is more familiar with running Postgres on Windows will need to chime in. The best practices is to install the new version in parallel with the old and use the pg_dump from the new version to dump the database from the old version, as pg_dump is backwards compatible not forward compatible. I just have not done that on Windows so I am not going to be of much help. To help out with answering this it would be helpful know where you got the Postgres program from and how you installed it. It would be also good to know what amount of data you are dealing with. > > Dale Seaburg -- Adrian Klaver adrian.klaver@aklaver.com