Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VzItI-0003FS-UD for pgsql-bugs@arkaria.postgresql.org; Sat, 04 Jan 2014 04:31:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VzItI-0001VV-Dx for pgsql-bugs@arkaria.postgresql.org; Sat, 04 Jan 2014 04:31:16 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VzItH-0001VP-Na for pgsql-bugs@postgresql.org; Sat, 04 Jan 2014 04:31:15 +0000 Received: from sam.nabble.com ([216.139.236.26]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VzItF-0006np-Ra for pgsql-bugs@postgresql.org; Sat, 04 Jan 2014 04:31:15 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1VzItF-0000c7-N7 for pgsql-bugs@postgresql.org; Fri, 03 Jan 2014 20:31:13 -0800 Date: Fri, 3 Jan 2014 20:31:13 -0800 (PST) From: David Johnston To: pgsql-bugs@postgresql.org Message-ID: <1388809873709-5785295.post@n5.nabble.com> In-Reply-To: <1388809619331-5785294.post@n5.nabble.com> References: <1388809619331-5785294.post@n5.nabble.com> Subject: Re: BUG #8721: pg_wrapper unaware of configuration includes MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 3.7 (+++) 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 David Johnston wrote > > jodynickel wrote >> The following bug has been logged on the website: >> >> Bug reference: 8721 >> Logged by: Jody Nickel >> Email address: >> jodynickel@ >> PostgreSQL version: 9.3.2 >> Operating system: Kubuntu 13.04 >> Description: >> >> I installed postgres 9.3 on a machine where 9.1 was installed. I >> dumped/loaded the 9.1 databases into 9.3. I then stopped and uninstalled >> 9.1. >> >> >> When I installed, since there was already a postgres installed, the port >> was >> assigned to 5433. >> >> >> I then used a secondary configuration file to hold my configuration >> changes >> for postgres (shared memory etc) and used the include statement in >> postgresql.conf. One of the lines in that secondary file was port = 5432. >> >> >> I then restarted postgres to put the changes into effect. >> >> >> When I started psql, it gave an error that it couldn't connect to port >> 5433. >> >> >> I think it was reading postgresql.conf, and ignoring the included files >> that >> had changed the port number. >> >> >> This is a very minor bug, and was easily worked around by changing the >> port >> configuration in the postgresql.conf file. > This is not a PostgreSQL bug, nor is it likely a distro bug. Most likely > because you are making changes to default configurations you have to learn > where those defaults are stored for pg_wrapper and make the appropriate > change there. I doubt it reads PostgreSQL.conf but instead stores 5433 > somewhere upon install and you need to change that. > > Google and "man" are your friends. > > David J. Or just use "psql" directly and specify the correct port yourself or via the supplied mechanics as documented on the psql doc page. David J. -- View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-8721-pg-wrapper-unaware-of-configuration-includes-tp5785254p5785295.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs