Re: [HACKERS] date formatting and tab-complete patch

From: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
To: pgsql-patches <pgsql-patches(at)postgreSQL(dot)org>
Cc: Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>
Subject: Re: [HACKERS] date formatting and tab-complete patch
Date: 2001-12-10 10:18:30
Message-ID: 20011210111830.C20110@zf.jcu.cz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Please add this _simple_ patch to actual code. It _fix_ my bug
in formatting.c.

Thanks to Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>.

Karel

On Sat, Dec 08, 2001 at 07:41:01PM -0600, Manuel Sugawara wrote:

> PS. By the way, reviewing the code I found a bug that causes the
> following test:
>
> to_date(to_char('1979/22/10'::date,'dd/fmrm/yyyy'),'dd/fmrm/yyyy') = '1979/22/10'::date;
>
> give an error instead of a true value. Attached is the patch to fix it
> against the 7.2b3 tree.

--
Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
http://home.zf.jcu.cz/~zakkr/

C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz

Attachment Content-Type Size
formatting.patch text/plain 1.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-12-10 10:50:59 Re: ODBC functions in gram.y
Previous Message Karel Zak 2001-12-10 10:09:04 Re: date formatting and tab-complete patch

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2001-12-10 10:45:17 Re: hu.po
Previous Message Karel Zak 2001-12-10 10:09:04 Re: date formatting and tab-complete patch