Re: BUG #3563: DATESTYLE feature suggestion - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: BUG #3563: DATESTYLE feature suggestion
Date
Msg-id 200708222037.20905.peter_e@gmx.net
Whole thread Raw
In response to BUG #3563: DATESTYLE feature suggestion  ("Randolf Richardson" <randolf+postgresql.org@inter-corporate.com>)
List pgsql-bugs
Randolf Richardson wrote:
> After convincing clients and colleagues to switch from Oracle (and
> others) to PostgreSQL, an issue that comes up is the need to
> customize DATESTYLE. Because this isn't possible,

Sure it's possible.  You replace the respective data type output
functions with something that calls to_char on the value.  You can even
register your own configuration parameter to control the template used
by to_char.

If this is the only thing stopping you from making a major technology
choice, you can have it fixed by dawn.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

pgsql-bugs by date:

Previous
From: "Ken Colson"
Date:
Subject: BUG #3571: call to decrypt causes segfault
Next
From: Tom Lane
Date:
Subject: Re: pgbench - segmentation fault