Re: set datestyle

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: mike <matrix(at)quadrent(dot)net>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: set datestyle
Date: 2001-05-28 16:07:39
Message-ID: Pine.LNX.4.30.0105281804380.757-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane writes:

> "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?)

Ideally yes, but they're "special cases" by virtue of behaving specially.
AFAIR, the behaviour couldn't be fitted in exactly, but maybe with the
"assign hook" it would work.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-05-28 16:14:12 Re: set datestyle
Previous Message Denis Gasparin 2001-05-28 15:38:58 Kylix, dbexpress & PostgreSql