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

From Peter Eisentraut
Subject Re: Re: [PATCHES] PostgreSQL virtual hosting support
Date
Msg-id Pine.LNX.4.21.0010111833440.767-100000@peter.localdomain
Whole thread Raw
In response to Re: [PATCHES] PostgreSQL virtual hosting support  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Re: [PATCHES] PostgreSQL virtual hosting support
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.)

> > 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.

-- 
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: 7.0.2 on Solaris
Next
From: Peter Eisentraut
Date:
Subject: TIOGA