Re: Virtual domains ? - Mailing list pgsql-general

From fabrizio.ermini@sysdat.it
Subject Re: Virtual domains ?
Date
Msg-id 3ACA0842.5335.1B89C05@localhost
Whole thread Raw
In response to Re: Virtual domains ?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
> "Kris Van Hulle" <uxs@compulink.gr> writes:
> >> In 7.1 you can configure the postmaster to bind only to one specific IP
> >> address, if that helps.
> >>
> > Not really. I want to set up one SQL server, which should have a
> > different tablespace, userspace, whatever, depending on which
> > domain the user logs into.
>
> So use a different database for each "domain".
>
You could bind postmaster to different ports for each domain,
possibly even with different $PGDATA. So you will have

server 1: www.server1.com, port 5432, user whatever, tablespace
whatever

server 2: www.server2.com, port 5433, user whatever, tablespace
whatever

...and so on...


/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Fabrizio Ermini               Alternate E-mail:
C.so Umberto, 7               faermini@tin.it
loc. Meleto Valdarno          Mail on GSM: (keep it short!)
52020 Cavriglia (AR)          faermini@sms.tin.it

pgsql-general by date:

Previous
From: Renaud Tthonnart
Date:
Subject: PostgreSQL and Rational Purify
Next
From: Pluto
Date:
Subject: Re: Data access permission?