Exposing DEFAULT_PGSOCKET_DIR via a libpq function?

From: "Larry Rosenman" <lrosenman(at)pervasive(dot)com>
To: "PostgreSQL Hackers List" <pgsql-hackers(at)postgresql(dot)org>
Subject: Exposing DEFAULT_PGSOCKET_DIR via a libpq function?
Date: 2006-03-28 22:07:54
Message-ID: F6616E0E81AC0841B1F9DD252F7C4B550419EE@ausmaildd.aus.pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)Rosenman(at)pervasive(dot)com
Web: www.pervasive.com

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-03-28 22:28:02 Re: Exposing DEFAULT_PGSOCKET_DIR via a libpq function?
Previous Message Tom Lane 2006-03-28 19:44:21 Re: [GENERAL] PANIC: heap_update_redo: no block