pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #8721: pg_wrapper unaware of configuration includes
3+ messages / 2 participants
[nested] [flat]

* BUG #8721: pg_wrapper unaware of configuration includes
@ 2014-01-03 18:23 jodynickel@gmail.com
  2014-01-04 04:26 ` Re: BUG #8721: pg_wrapper unaware of configuration includes David Johnston <polobo@yahoo.com>
  0 siblings, 1 reply; 3+ messages in thread

From: jodynickel@gmail.com @ 2014-01-03 18:23 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      8721
Logged by:          Jody Nickel
Email address:      jodynickel@gmail.com
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.



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #8721: pg_wrapper unaware of configuration includes
  2014-01-03 18:23 BUG #8721: pg_wrapper unaware of configuration includes jodynickel@gmail.com
@ 2014-01-04 04:26 ` David Johnston <polobo@yahoo.com>
  2014-01-04 04:31   ` Re: BUG #8721: pg_wrapper unaware of configuration includes David Johnston <polobo@yahoo.com>
  0 siblings, 1 reply; 3+ messages in thread

From: David Johnston @ 2014-01-04 04:26 UTC (permalink / raw)
  To: pgsql-bugs

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.





--
View this message in context: http://postgresql.1045698.n5.nabble.com/BUG-8721-pg-wrapper-unaware-of-configuration-includes-tp5785...
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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #8721: pg_wrapper unaware of configuration includes
  2014-01-03 18:23 BUG #8721: pg_wrapper unaware of configuration includes jodynickel@gmail.com
  2014-01-04 04:26 ` Re: BUG #8721: pg_wrapper unaware of configuration includes David Johnston <polobo@yahoo.com>
@ 2014-01-04 04:31   ` David Johnston <polobo@yahoo.com>
  0 siblings, 0 replies; 3+ messages in thread

From: David Johnston @ 2014-01-04 04:31 UTC (permalink / raw)
  To: pgsql-bugs

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-tp5785...
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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2014-01-04 04:31 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-01-03 18:23 BUG #8721: pg_wrapper unaware of configuration includes jodynickel@gmail.com
2014-01-04 04:26 ` David Johnston <polobo@yahoo.com>
2014-01-04 04:31   ` David Johnston <polobo@yahoo.com>

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