I'd like to write:
SELECT larger(colA, colB) FROM foo
and am wondering the best way to go about it.
(Really, I'd like the larger() function to take an arbitrary
number of arguments but I don't see how to do that.)
Are there significant performance penalities if I were to use a
a homemade plpgpgql function?
Does somebody have a good solution? (I don't suppose there's
something built-in that I'm missing?)
Thanks.
Karl <kop@meme.com >
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddres sHere" to majordomo@postg resql.org)
SELECT larger(colA, colB) FROM foo
and am wondering the best way to go about it.
(Really, I'd like the larger() function to take an arbitrary
number of arguments but I don't see how to do that.)
Are there significant performance penalities if I were to use a
a homemade plpgpgql function?
Does somebody have a good solution? (I don't suppose there's
something built-in that I'm missing?)
Thanks.
Karl <kop@meme.com >
Free Software: "You don't pay back, you pay forward."
-- Robert A. Heinlein
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddres sHere" to majordomo@postg resql.org)
Comment