You must use
CASE var=val2 THEN [true statement] ELSE [false statement] END


---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

              http://www.postgresql.org/docs/faq

Reply via email to