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

From: Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: DateStyle (was Re: Per-database/schema settings)
Date: 2000-07-07 14:05:21
Message-ID: 3965E3A1.4FBED6CA@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 2000-07-07 14:21:37 Re: [HACKERS] PostgreSQL & the BSD License
Previous Message Thomas Lockhart 2000-07-07 13:40:20 Re: Per-database/schema settings