Re: [GENERAL] Reprise of Oracle decode functionality...now with nifty

2006-03-15 Thread Mike Adams
Ack! Should at least pull the current version from the database: This version also correctly checks the "default" return value for a possible return of a wanted NULL value. (The part just ahead of "return $final_else;". /***/ C

[GENERAL] Reprise of Oracle decode functionality...now with nifty plperlu (and two cupholders)

2006-03-15 Thread Mike Adams
I've been lurking on the pgsql-* lists for about a month now and have decided to quit being a "wall flower". Looking through the achives, I've noticed a fair number of threads about Oracle compatibility functions: predominantly for decode(). I've even seen and (quickly) looked at one implemen