Re: Exposing DEFAULT_PGSOCKET_DIR via a libpq function?

From: Darcy Buskermolen <darcy(at)wavefire(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: "Larry Rosenman" <lrosenman(at)pervasive(dot)com>
Subject: Re: Exposing DEFAULT_PGSOCKET_DIR via a libpq function?
Date: 2006-03-28 22:33:23
Message-ID: 200603281433.23687.darcy@wavefire.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tuesday 28 March 2006 14:07, Larry Rosenman wrote:
> 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.

is it not shown by, (if it's not default of /tmp) ?
pg_config --configure

>
> Comments?
>
> LER

--
Darcy Buskermolen
Wavefire Technologies Corp.

http://www.wavefire.com
ph: 250.717.0200
fx: 250.763.1759

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2006-03-28 22:36:05 Re: Exposing DEFAULT_PGSOCKET_DIR via a libpq function?
Previous Message Tom Lane 2006-03-28 22:28:02 Re: Exposing DEFAULT_PGSOCKET_DIR via a libpq function?