Skip site navigation (1) Skip section navigation (2)

Syntax in postgresql.conf

From: Johann Spies <jspies(at)sun(dot)ac(dot)za>
To: pgsql-admin(at)postgresql(dot)org
Subject: Syntax in postgresql.conf
Date: 2007-05-28 09:11:32
Message-ID: 20070528091132.GA32403@sun.ac.za (view raw or flat)
Thread:
Lists: 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

Responses

pgsql-admin by date

Next:From: Phillip SmithDate: 2007-05-28 11:05:37
Subject: Re: Syntax in postgresql.conf
Previous:From: Vishal AroraDate: 2007-05-28 03:53:01
Subject: Re: User DB Access - RESTRICTIONS

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group