| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | Christoph Berg <cb(at)df7cb(dot)de> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: per-user pg_service.conf |
| Date: | 2010-01-20 21:17:42 |
| Message-ID: | 1264022262.11352.1.camel@vanquo.pezone.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
committed
On fre, 2010-01-15 at 13:37 +0100, Christoph Berg wrote:
> There's not much I have to add, maybe the documentation could add a
> pointer to what keywords are recognized:
>
> | The file uses an "INI file" format where the section name is the
> | service name and the parameters are connection parameters.
>
> ... (see Section 30.1 for a list).
I added that.
>
> Independently for what this patch changes, error reporting could be
> more detailed, currently "syntax error in service file \"%s\", line
> %d" is reported for "no = in line" and "keyword X is unknown". The
> latter case deserves a different message, maybe like "keyword \"%s\"
> is invalid in service file \"%s\", line %d".
That was a bit outside of the mandate of the patch, but if someone wants
to send in something for that, I'm sure it would be considered.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Mark Kirkwood | 2010-01-20 21:33:25 | Re: Streaming Replication and archiving |
| Previous Message | Tom Lane | 2010-01-20 20:54:40 | Re: Listen / Notify - what to do when the queue is full |