Allow updates where column types integer array

For example; this query needs the array type casting.

UPDATE foo SET 

an_integer_array = (
  CASE id 
    WHEN 48008 THEN '{1,2}'
    WHEN 48009 THEN '{}':
  END):INT[], 

 a_numeric = (
  CASE id 
    WHEN 48008 THEN 100.0000
    WHEN 48009 THEN 100.0000
  END)::numeric(12, 4)

  WHERE id in (48008, 48009)