Re: Change date format through an environmental variable?

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Change date format through an environmental variable?
Date: 2006-03-01 19:26:07
Message-ID: 20060301192607.GM17356@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Wed, Mar 01, 2006 at 02:20:57PM -0500, Mark Fenbers wrote:
> I found PGDATESTYLE that solves my problem, but ever since, I've been
> looking for a comprehensive list of environmental variables that Pg
> recognizes, but haven't been able to find such a list in any of the
> books I looked in or the man pages. Anyone know where I can find such a
> list?

That's a client variable, and it works for libpq-based clients that
don't do something funny with them (none of them ought to, but one
can't guarantee others' programs). So you're not modifying for other
clients, AFAIK, just for you. (If that's what you want, well, good,
but it's important to know what it does.)

The list for 8.1 is in the docs:

http://www.postgresql.org/docs/8.1/interactive/libpq-envars.html

A

--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
A certain description of men are for getting out of debt, yet are
against all taxes for raising money to pay it off.
--Alexander Hamilton

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Bryce Nesbitt 2006-03-01 19:28:06 Re: Replication - state of the art?
Previous Message Mark Fenbers 2006-03-01 19:20:57 Re: Change date format through an environmental variable?