Re: Re: [PATCHES] PostgreSQL virtual hosting support - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Re: [PATCHES] PostgreSQL virtual hosting support
Date
Msg-id 200011131504.KAA19244@candle.pha.pa.us
Whole thread Raw
In response to Re: Re: [PATCHES] PostgreSQL virtual hosting support  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Re: [PATCHES] PostgreSQL virtual hosting support  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
> Bruce Momjian writes:
> 
> > I am tempted to apply this.  This is the second person who asked for
> > binding to a single port.  The patch looks quite complete, with doc
> > changes.  It appears to be a thorough job.
> 
> Postmaster options are evil, please put something in backend/utils/guc.c.  
> (This is not the fault of the patch submitter, since this interface is new
> for 7.1, but that still doesn't mean we should subvert it.)

I have put code in guc.c to handle this, but there still are postmaster
options for it too.


> 
> > > 2. The ability to place the Unix-domain socket in a mode 700 directory.
> 
> This would be a rather sharp instrument to offer to the world at large,
> because the socket file is also a lock file, so you can't just get rid of
> it.
> 
> If we were to offer that anyway, I'd opine that we reuse the -h option
> (e.g., leading slash means Unix socket) rather than adding a -k option
> everywhere.

Interesting idea, thought kind of cryptic.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: "Poul L. Christiansen"
Date:
Subject: Re: [GENERAL] PHPBuilder article -- Postgres vs MySQL
Next
From: Don Baccus
Date:
Subject: Re: PHPBuilder article -- Postgres vs MySQL