Re: set datestyle

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "mike" <matrix(at)quadrent(dot)net>
Cc: pgsql-general(at)postgresql(dot)org, Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: set datestyle
Date: 2001-05-28 15:11:47
Message-ID: 12562.991062707@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"mike" <matrix(at)quadrent(dot)net> writes:
> I'm trying to reset my datestyle which works till I have to log out and log=
> back into my shell.
> the docs have nothign in them ast to how to keep the datestyle set. is this=
> somethign that can
> be done once, or does it have to be done every single time?

It ought to be possible to set datestyle in postgresql.conf, but AFAICS
it's not at the moment. (Hey Peter, couldn't the special cases in
SetPGVariable be handled in guc.c instead?)

In the meantime, try starting the postmaster with environment variable
PGDATESTYLE set.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Len Morgan 2001-05-28 15:12:09 Re: altering data type in a column
Previous Message Justin Clift 2001-05-28 15:10:38 Re: CLISP ?