Re: DateStyle (was Re: Per-database/schema settings) - Mailing list pgsql-hackers

From Thomas Lockhart
Subject Re: DateStyle (was Re: Per-database/schema settings)
Date
Msg-id 3965E3A1.4FBED6CA@alumni.caltech.edu
Whole thread Raw
In response to DateStyle (was Re: Per-database/schema settings)  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Karel Zak wrote:
> 
>  Small note, to_char() has good friend to_timestamp() and this second
> routine must allow interpret all output from to_char() to PG internal
> datetype.

Yes. The problem is if someone sets the template to

'bad date/time: "HH24"'

At that point, there are not enough fields defined to be able to recover
the original date/time value.
                     - Thomas


pgsql-hackers by date:

Previous
From: eisentrp@csis.gvsu.edu
Date:
Subject: Re: Memo on coding practices: strcmp() does not yield bool
Next
From: Thomas Lockhart
Date:
Subject: Re: Per-database/schema settings