Pavel Stehule wrote: > Hello, > > I sended version with only LEAST and GREATEST > http://archives.postgresql.org/pgsql-patches/2005-06/msg00185.php > > this patch contains diff files for NEXT_DAY and LAST_DAY function too, > which I think are generally usefull. > > There is duplicity with CASE.
Oh, and I personally think DECODE is fine, even if it partly duplicates something we already have. I was just asking to make sure everyone else was OK before I applied it. -- 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 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match