Gerardo Herzig <gherzig@fmed.uba.ar> writes:
> Tom, thanks (as allways) for your answer. This is a 9.1.12. I have to say, im not very happy about if-elif-else'ing
atall.
> The "conditional filter" es a pretty common pattern in our functions, i would have to add (and maintain) a
substantialamount of extra code.
In that case consider moving to 9.2 or later. I believe it'd handle
this scenario better.
regards, tom lane