pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Syntax in postgresql.conf
3+ messages / 2 participants
[nested] [flat]

* Syntax in postgresql.conf
@ 2007-05-28 09:11  Johann Spies <jspies@sun.ac.za>
  0 siblings, 1 reply; 3+ messages in thread

From: Johann Spies @ 2007-05-28 09:11 UTC (permalink / raw)
  To: pgsql-admin

A comment in postgresql.conf on Debian says:

"
          # comma-separated list of addresses;
          # defaults to 'localhost', '*' = all
"	  
But when I try

listen_addresses = '192.168.0.1', 'localhost'

I get

$sudo /etc/init.d/postgresql-8.1 restart
 * Restarting PostgreSQL 8.1 database server
 * Error: Invalid line 53 in /etc/postgresql/8.1/main/postgresql.conf

 Why?

 Regards
 Johann
-- 
Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "Wait on the LORD; be of good courage, and he shall 
      strengthen thine heart; wait, I say, on the LORD."
                                    Psalms 27:14



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

* Re: Syntax in postgresql.conf
@ 2007-05-28 11:05  Phillip Smith <phillip.smith@weatherbeeta.com.au>
  parent: Johann Spies <jspies@sun.ac.za>
  0 siblings, 1 reply; 3+ messages in thread

From: Phillip Smith @ 2007-05-28 11:05 UTC (permalink / raw)
  To: Johann Spies <jspies@sun.ac.za>; +Cc: pgsql-admin

I believe you would need it to be:
    listen_addresses = '192.168.0.1,localhost'

ie, Don't close the quotes between your CSV's

On Mon, 2007-05-28 at 11:11 +0200, Johann Spies wrote:

> listen_addresses = '192.168.0.1', 'localhost'
> 
> I get
> 
> $sudo /etc/init.d/postgresql-8.1 restart
>  * Restarting PostgreSQL 8.1 database server
>  * Error: Invalid line 53 in /etc/postgresql/8.1/main/postgresql.conf
> 
>  Why?


*******************Confidentiality and Privilege Notice*******************

The material contained in this message is privileged and confidential to
the addressee.  If you are not the addressee indicated in this message or
responsible for delivery of the message to such person, you may not copy
or deliver this message to anyone, and you should destroy it and kindly
notify the sender by reply email.

Information in this message that does not relate to the official business
of Weatherbeeta must be treated as neither given nor endorsed by Weatherbeeta.
Weatherbeeta, its employees, contractors or associates shall not be liable
for direct, indirect or consequential loss arising from transmission of this
message or any attachments

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

* Re: Syntax in postgresql.conf
@ 2007-05-28 13:40  Johann Spies <jspies@sun.ac.za>
  parent: Phillip Smith <phillip.smith@weatherbeeta.com.au>
  0 siblings, 0 replies; 3+ messages in thread

From: Johann Spies @ 2007-05-28 13:40 UTC (permalink / raw)
  To: pgsql-admin

On Mon, May 28, 2007 at 09:05:37PM +1000, Phillip Smith wrote:
> I believe you would need it to be:
>     listen_addresses = '192.168.0.1,localhost'
> 
> ie, Don't close the quotes between your CSV's

Thanks Phillip.  That did it.

Regards
Johann
-- 
Johann Spies          Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

     "Wait on the LORD; be of good courage, and he shall 
      strengthen thine heart; wait, I say, on the LORD."
                                    Psalms 27:14



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


end of thread, other threads:[~2007-05-28 13:40 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-05-28 09:11 Syntax in postgresql.conf Johann Spies <jspies@sun.ac.za>
2007-05-28 11:05 ` Phillip Smith <phillip.smith@weatherbeeta.com.au>
2007-05-28 13:40   ` Johann Spies <jspies@sun.ac.za>

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