From: | Larry Rosenman <ler(at)lerctr(dot)org> |
---|---|
To: | pgsql-patches(at)postgresql(dot)org |
Subject: | Interval Patch |
Date: | 2003-06-24 20:57:58 |
Message-ID: | 43980000.1056488278@lerlaptop.iadfw.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
This is against 7.3.3 sources, but it fixes the TODO
* Have SELECT '13 minutes'::interval display zero seconds in ISO
datestyle
*** datetime.c.orig Sat May 3 23:30:35 2003
--- datetime.c Tue Jun 24 15:54:39 2003
***************
*** 3498,3504 ****
is_nonzero = TRUE;
}
/* otherwise, integer seconds only? */
! else if (tm->tm_sec != 0)
{
sprintf(cp, ":%02d", abs(tm->tm_sec));
cp += strlen(cp);
--- 3498,3504 ----
is_nonzero = TRUE;
}
/* otherwise, integer seconds only? */
! else
{
sprintf(cp, ":%02d", abs(tm->tm_sec));
cp += strlen(cp);
--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler(at)lerctr(dot)org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
Attachment | Content-Type | Size |
---|---|---|
datetime.patch | application/octet-stream | 499 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-06-24 22:42:19 | Re: ipv6 patch #3 |
Previous Message | Jason Tishler | 2003-06-24 20:10:13 | Re: [HACKERS] ss_family in hba.c |