From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | David Johnston <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | "pgsql-docs(at)postgresql(dot)org" <pgsql-docs(at)postgresql(dot)org> |
Subject: | Re: libpq "service" parameter not documented as not allowed inside a pg_service file |
Date: | 2015-04-08 14:26:35 |
Message-ID: | 20150408142635.GA4785@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
On Wed, Apr 1, 2015 at 04:52:48PM -0400, Bruce Momjian wrote:
> On Fri, Dec 19, 2014 at 06:52:42PM -0700, David Johnston wrote:
> > While the fact that you cannot do:
> >
> > [service_template]
> > host=xxx.xxx.xxx.xxx
> >
> > [service_db1]
> > dbname=db1
> > service=service_template
> >
> > seems obvious there is nothing in the documentation that says this is
> > prohibited; and attempting a simple alias entry:
>
> I have developed the attached patch to warn users that nesting of
> service entries is not supported. I prefer code warnings over
> documentation because the user gets the warning as soon as they try
> something, rather than having to hunt in the documentation. I don't
> think this issue has come up enough to warrant a doc mention too though.
Patch applied. Thanks for the report.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Langote | 2015-04-09 01:23:06 | Typo in mvcc.sgml |
Previous Message | Peter Eisentraut | 2015-04-06 20:02:30 | Re: Moving documentation to XML |