From: | "Marc G(dot) Fournier" <scrappy(at)hub(dot)org> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Using virtual_host setting in postmaster.conf file ... |
Date: | 2002-06-26 02:39:00 |
Message-ID: | 20020625233501.L20796-100000@mail1.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 ...
From | Date | Subject | |
---|---|---|---|
Next Message | Curt Sampson | 2002-06-26 02:41:06 | Re: Democracy and organisation : let's make a |
Previous Message | Justin Clift | 2002-06-26 02:00:21 | Re: Democracy and organisation : let's make a revolution |