Skip site navigation (1) Skip section navigation (2)

Re: BUG #3563: DATESTYLE feature suggestion

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-bugs(at)postgresql(dot)org
Cc: "Randolf Richardson" <randolf+postgresql(dot)org(at)inter-corporate(dot)com>
Subject: Re: BUG #3563: DATESTYLE feature suggestion
Date: 2007-08-22 18:37:19
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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

In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 2007-08-22 23:04:22
Subject: Re: pgbench - segmentation fault
Previous:From: Ken ColsonDate: 2007-08-22 17:29:27
Subject: BUG #3571: call to decrypt causes segfault

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group