Re: Re: [PATCHES] PostgreSQL virtual hosting support

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, "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 23:40:07
Message-ID: 200011132340.SAA17293@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

OK, I have removed the -k unix socketpath option from the client side of
this patch, and modified libpq so if they specify a host with a leading
slash, it will be considered a unix socket path. Attached is the
relevant patch to libpq.

> > Bruce Momjian writes:
> >
> > > > 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.

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

Attachment Content-Type Size
unknown_filename text/plain 2.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2000-11-13 23:45:02 Re: Syslog Facility Patch
Previous Message Peter Eisentraut 2000-11-13 23:33:13 Re: Re: [PATCHES] PostgreSQL virtual hosting support

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2000-11-14 00:01:13 Re: Re: [PATCHES] PostgreSQL virtual hosting support
Previous Message Peter Eisentraut 2000-11-13 23:33:13 Re: Re: [PATCHES] PostgreSQL virtual hosting support