Thread: Re: DateStyle (was Re: Per-database/schema settings)

Re: DateStyle (was Re: Per-database/schema settings)

From
Thomas Lockhart
Date:
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