From: | Theodore Petrosky <tedpet5(at)yahoo(dot)com> |
---|---|
To: | "Toms" "Zandon" <tdzandona(at)yahoo(dot)com(dot)br>, pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #1458: to_char is crazy |
Date: | 2005-02-03 12:43:31 |
Message-ID: | 20050203124331.38263.qmail@web41015.mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
There is only one row in the table?
> select to_char(day, 'DD/MM/YYYY') from test_table;
what happens with:
select * from test_table; or
select day from test_table;
What does your insert statement look like? What is the
column type?
Ted
--- Toms Zandon <tdzandona(at)yahoo(dot)com(dot)br> wrote:
>
> The following bug has been logged online:
>
> Bug reference: 1458
> Logged by: Toms Zandon
> Email address: tdzandona(at)yahoo(dot)com(dot)br
> PostgreSQL version: 7.3.2
> Operating system: i don't know
> Description: to_char is crazy
> Details:
>
> I'm from brazil. I don't wrote English very well.
>
> I dont't know if it's a bug, but I insert the date
> 2005-10-09 in a Date
> field.
> Later I execute:
>
> select to_char(day, 'DD/MM/YYYY') from test_table;
>
> It returns 08/10/2005.
>
> ????? I don't understand why it returns 08 instead
> of 09...
>
> Can you help me?
> I'm waiting for an answare.
> Thanks,
> Toms Zandon.
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2005-02-03 14:02:57 | Re: BUG #1456: COPY FROM error |
Previous Message | boykov@ns | 2005-02-03 11:47:48 | Re: Postgres install on windows 2003 server |