From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Docs for service file |
Date: | 2003-01-07 04:25:10 |
Message-ID: | 200301070425.h074PBK13334@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Here is documentation and a sample file for the libpq service/PGSERVICE
capabilithy we added in 2000. Seems it was never documented. It allows
a central file, pg_service.conf to act as a central location for service
information.
You do connectdb("service=test") and a lookup is done to see the
connection parameters. The code assume pg_service exists in
install_dir/etc. Not sure if that is the right place, but it is a libpq
config file, so none of the other places seemed to make sense. Ideas?
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 4.6 KB |
unknown_filename | text/plain | 606 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-01-07 04:56:00 | Re: Fix for HP-UX shared library builds |
Previous Message | Giles Lean | 2003-01-07 04:04:38 | Re: Fix for HP-UX shared library builds |