From: | Thomas Lockhart <thomas(at)fourpalms(dot)org> |
---|---|
To: | samuele(dot)brignoli(at)darpha(dot)com |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Bad timestamp external representation '2001-05-11 |
Date: | 2002-03-20 16:04:39 |
Message-ID: | 3C98B317.CA23D9F6@fourpalms.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> ERROR: Bad timestamp external representation '2001-05-11 00.00.00'
> Is this dot notation of date time not supported? I cannot change directly my
> inserton query, so is there a way to enable this notation ( maybe
> configuring locale ? ) ?
Hmm. This is the first report I've had (or at least that I can recall)
of using dot notation for time fields. PostgreSQL recognizes dots for
year/month/day fields.
It will require some source code changes to make this work for you. *OR*
you should use to_date() to read in the data, which seems a much better
choice ;) When you said that you cannot change the insertion query, do
you mean that you cannot change the query itself, or cannot change the
data going into the query? You've *got* to have some control over one or
the other, right?
Where are you located? Is this a common notation in that part of the
world?
- Thomas
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Lockhart | 2002-03-20 16:09:25 | Re: Al Dev and Postgresql book |
Previous Message | Ian Harding | 2002-03-20 16:03:52 | Re: Auomatic numbering, replacing nulls and IF |