Re: Function's LEAST, GREATEST and DECODE (Oracle vararg

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>
Cc: pgsql-patches(at)postgresql(dot)org, neilc(at)samurai(dot)com, tgl(at)sss(dot)pgh(dot)pa(dot)us, david(at)fetter(dot)org
Subject: Re: Function's LEAST, GREATEST and DECODE (Oracle vararg
Date: 2005-06-21 19:09:26
Message-ID: 200506211909.j5LJ9QW11579@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Pavel Stehule wrote:
> Hello,
>
> I sended version with only LEAST and GREATEST
> http://archives.postgresql.org/pgsql-patches/2005-06/msg00185.php

OK, did you remove DECODE for a reason?

> this patch contains diff files for NEXT_DAY and LAST_DAY function too,
> which I think are generally usefull.
>
> There is duplicity with CASE.

I didn't think we needed NEXT_DAY and LAST_DAY because we have +
interval like + '1 day'. We decided that, right?

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-06-21 19:10:03 Re: Function's LEAST, GREATEST and DECODE (Oracle vararg
Previous Message Pavel Stehule 2005-06-21 19:06:12 Re: Function's LEAST, GREATEST and DECODE (Oracle vararg

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2005-06-21 19:10:03 Re: Function's LEAST, GREATEST and DECODE (Oracle vararg
Previous Message Pavel Stehule 2005-06-21 19:06:12 Re: Function's LEAST, GREATEST and DECODE (Oracle vararg