Re: Re: [PATCHES] PostgreSQL virtual hosting support

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: "David J(dot) MacKenzie" <djm(at)web(dot)us(dot)uu(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Re: [PATCHES] PostgreSQL virtual hosting support
Date: 2000-11-13 15:04:31
Message-ID: 200011131504.KAA19244@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

> 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message momjian 2000-11-13 15:18:11 pgsql/src/backend/postmaster (postmaster.c)
Previous Message Bruce Momjian 2000-11-13 15:03:17 Re: PostgreSQL virtual hosting support

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2000-11-13 23:30:18 Re: Re: [PATCHES] PostgreSQL virtual hosting support
Previous Message Bruce Momjian 2000-11-13 15:03:17 Re: PostgreSQL virtual hosting support