Unix Technical Forum

Re: [COMMITTERS] pgsql: Add 'day' field to INTERVAL so 1 day interval

This is a discussion on Re: [COMMITTERS] pgsql: Add 'day' field to INTERVAL so 1 day interval within the Pgsql Patches forums, part of the PostgreSQL category; --> This is also broken for make check with --enable-integer-datetimes on kookaburra (AIX). It looks like the other members of ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > Pgsql Patches

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-18-2008, 12:42 AM
Rocco Altier
 
Posts: n/a
Default Re: [COMMITTERS] pgsql: Add 'day' field to INTERVAL so 1 day interval

This is also broken for make check with --enable-integer-datetimes on
kookaburra (AIX).

It looks like the other members of buildfarm that fail on contrib aren't
using integer datetimes.

-rocco

> -----Original Message-----
> From: pgsql-patches-owner@postgresql.org
> [mailtogsql-patches-owner@postgresql.org] On Behalf Of Bruce Momjian
> Sent: Wednesday, July 20, 2005 2:21 PM
> To: Kris Jurka
> Cc: PostgreSQL-patches
> Subject: Re: [PATCHES] [COMMITTERS] pgsql: Add 'day' field to
> INTERVAL so 1 day interval
>
>
> Kris Jurka wrote:
> > Bruce Momjian wrote:
> > > Log Message:
> > > -----------
> > > Add 'day' field to INTERVAL so 1 day interval can be

> distinguished from
> > > 24 hours. This is very helpful for daylight savings time:
> > >

> >
> > Seems to have broken the contrib/btree_gist interval

> regression tests
> >
> >

> http://pgbuildfarm.org/cgi-bin/show_...agonfly&dt=200

5-07-20%2017:30:00

I have applied a patch which adds the 'date' value for interval to the
code. However, the regression still does not pass. Here is a query:

SELECT count(*) FROM intervaltmp WHERE a = '199 days
21:21:23'::interval;
count
-------
1
(1 row)

that should return 1, but returns 0 in the current code. Does anyone
have any ideas on a fix?

--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania
19073

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:14 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com