Exposing DEFAULT_PGSOCKET_DIR via a libpq function? - Mailing list pgsql-hackers

From Larry Rosenman
Subject Exposing DEFAULT_PGSOCKET_DIR via a libpq function?
Date
Msg-id F6616E0E81AC0841B1F9DD252F7C4B550419EE@ausmaildd.aus.pervasive.com
Whole thread Raw
Responses Re: Exposing DEFAULT_PGSOCKET_DIR via a libpq function?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Exposing DEFAULT_PGSOCKET_DIR via a libpq function?  (Darcy Buskermolen <darcy@wavefire.com>)
List pgsql-hackers
Greetings,   After helping a user on irc, I was wondering if there would be any
objection
to my making a patch that would:

1) expose DEFAULT_PGSOCKET_DIR via a libpq call
2) add this information to the psql --version output (or some other
switch, I'm agnostic).

for those weird times when some distro changes it, and you then
overwrite parts of it,
it would be useful for diagnostics.

Comments?

LER


--
Larry Rosenman
Database Support Engineer

PERVASIVE SOFTWARE. INC.
12365B RIATA TRACE PKWY
3015
AUSTIN TX  78727-6531

Tel: 512.231.6173
Fax: 512.231.6597
Email: Larry.Rosenman@pervasive.com
Web: www.pervasive.com


pgsql-hackers by date:

Previous
From: Thomas Hallgren
Date:
Subject: Re: Shared memory
Next
From: Tom Lane
Date:
Subject: Re: Exposing DEFAULT_PGSOCKET_DIR via a libpq function?