| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Mark Dilger <pgsql(at)markdilger(dot)com> |
| Cc: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: [SQL] Interval subtracting |
| Date: | 2006-03-01 23:20:52 |
| Message-ID: | 16879.1141255252@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-patches pgsql-sql |
Mark Dilger <pgsql(at)markdilger(dot)com> writes:
> Bruce Momjian wrote:
>> If we do that, we should just call it justify_interval(). I am thinking
>> this is the direction to go, and for people who want more control they
>> use the justify_hours and justify_days, and those are left unchanged.
> I agree. Let's leave the existing functions alone.
No, we still need to fix them to not leave a large negative value in
place for seconds or days (respectively). The current coding is
unquestionably inadequate.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2006-03-01 23:23:53 | Re: [SQL] Interval subtracting |
| Previous Message | Tom Lane | 2006-03-01 23:17:45 | Re: [SQL] Interval subtracting |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2006-03-01 23:23:53 | Re: [SQL] Interval subtracting |
| Previous Message | Tom Lane | 2006-03-01 23:17:45 | Re: [SQL] Interval subtracting |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andrew Sullivan | 2006-03-01 23:23:13 | Re: Replication - state of the art? |
| Previous Message | Tom Lane | 2006-03-01 23:17:45 | Re: [SQL] Interval subtracting |