Josh Berkus wrote:
Pavel,I propose add this statement to PL/pgSQL too.Isn't there a danger of syntactical conflict with the SQL SELECT ... CASE statement?I'd love to have CASE in PL/pgSQL, but I always thought that stood in the way.
Could it be called SWITCH instead? Joshua D. Drake ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings