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@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 7: don't forget to increase your free space map settings