Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

In response to

Responses

pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group