Using virtual_host setting in postmaster.conf file ... - Mailing list pgsql-hackers

From Marc G. Fournier
Subject Using virtual_host setting in postmaster.conf file ...
Date
Msg-id 20020625233501.L20796-100000@mail1.hub.org
Whole thread Raw
List pgsql-hackers
Morning ...
Figuring that I'd try it out, I uncommented the virtual_host entry
in postmaster.conf and set it to an IP of 64.49.215.5 (the "base" machine)
...

virtual_host = '64.49.215.5'
I then restarted the daemon as:

/usr/local/pgsql721/bin/postmaster -B 10240 -N 512 -i -p 5432 -D/v1/pgsql/5432 -S (postgres)
but if I try and connect to it at a different IP, it allows me to:

%psql -p 5432 -h 64.49.215.6 template1
Welcome to psql, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms      \h for help with SQL commands      \? for help on internal slash commands
    \g or terminate with semicolon to execute query      \q to quit
 

template1=# \q
%psql -p 5432 -h 64.49.215.7 template1
Welcome to psql, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms      \h for help with SQL commands      \? for help on internal slash commands
    \g or terminate with semicolon to execute query      \q to quit
 

template1=# \q
Am I misunderstandign that feature, or is there a problem with it?

Thanks ...





pgsql-hackers by date:

Previous
From: Justin Clift
Date:
Subject: Re: Democracy and organisation : let's make a revolution
Next
From: Curt Sampson
Date:
Subject: Re: Democracy and organisation : let's make a