From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | lockhart(at)fourpalms(dot)org |
Cc: | mark(at)summersault(dot)com, pgsql-bugs(at)postgresql(dot)org, Hackers List <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Date calculation produces wrong output with 7.02 |
Date: | 2001-02-23 18:36:19 |
Message-ID: | 28978.982953379@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> writes:
> This problem is in the current CVS tree also. A workaround of removing
> the reltime==int assumed compatibility could be applied to 7.1 (I
> haven't thought of what that would affect) or we can build some explicit
> operators to make sure that the seconds->days conversion happens (which
> would require an initdb).
> btw, "interval" is to be preferred over "reltime" for most operations,
> as recommended in the PostgreSQL docs on data types.
Removing the binary compatibility was my thought also. If we are trying
to discourage use of reltime, then this seems like a good change to
make...
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-02-23 20:02:04 | Re: non blcoking behaviour |
Previous Message | Tom Lane | 2001-02-23 17:58:50 | Re: Turkish locale bug |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-02-23 18:37:07 | Re: CommitDelay performance improvement |
Previous Message | Tom Lane | 2001-02-23 18:30:12 | Re: CommitDelay performance improvement |