pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Egon Reetz <reetz@usco.de>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Wrong date inserts
Date: Sun, 14 Apr 2002 20:04:29 +0200
Message-ID: <1069B596-4FD2-11D6-A7B8-0003936D343A@usco.de> (raw)
In-Reply-To: <22185.1018803998@sss.pgh.pa.us>


Well, will look forward to find something about DateStyle, but
shouldn't both dates handled equally.
Same input format should result into the same result, shouldn't it?

Regards

Egon

Am Sonntag den, 14. April 2002, um 19:06, schrieb Tom Lane:

> Egon Reetz <reetz@usco.de> writes:
>> It looks like day and month are exchanged, when the day is less or 
>> equal
>> 12.
>
> Sounds like you should change DateStyle to tell the truth about the date
> format you are using.  The system has to rely on that when the field
> values don't make it obvious which component is which.
>
> Looks like you want 'German' datestyle for this input.
>
> 			regards, tom lane
>




view thread (4+ messages)  latest in thread

Message-ID: <1069B596-4FD2-11D6-A7B8-0003936D343A@usco.de>
Permalink:  ../1069B596-4FD2-11D6-A7B8-0003936D343A@usco.de/
Also on:    postgresql.org/message-id/1069B596-4FD2-11D6-A7B8-0003936D343A@usco.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: reetz@usco.de
  Subject: Re: Wrong date inserts
  In-Reply-To: <1069B596-4FD2-11D6-A7B8-0003936D343A@usco.de>
  References: <22185.1018803998@sss.pgh.pa.us> <1069B596-4FD2-11D6-A7B8-0003936D343A@usco.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox