Re: Weird PG 8.1.3 date error

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Tony Caduto <tony_caduto(at)amsoftwaredesign(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Weird PG 8.1.3 date error
Date: 2006-12-13 17:27:46
Message-ID: 1166030866.12365.5.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 2006-12-13 at 10:37 -0600, Tony Caduto wrote:
> Hi,
> I have a user who is getting this error on a 8.1.3 server when importing
> some data from a dbf file:
>
> PostgreSQL Error Code: (1)
> ERROR: date/time field value out of range: "08-01-2006"
>
> He says the db is SQL-ASCII and the datestyle is at the default.

Without more information it is a bit tough to say but:

http://people.planetpostgresql.org/joshua/index.php?/archives/12-Ahhh!-PostgreSQL-Gotchas.html

>
> Of course on all my test servers the insert works perfectly without the
> range error.
>
> Anyone have any Ideas? I don't know if the pg server is win32 or Unix.
>
> Thanks,
>
--

=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997
http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tony Caduto 2006-12-13 17:36:03 Re: Weird PG 8.1.3 date error
Previous Message Filip Rembiałkowski 2006-12-13 17:22:16 Re: storage