SELECT array_to_median('{}'::float[]);
SELECT array_to_median('{1,1,5,2,0}'::smallint[]);
SELECT array_to_median('{1,1,5,2,0}'::integer[]);
SELECT array_to_median('{1,1,5,2,0}'::bigint[]);
SELECT array_to_median('{1,1,5,2,0}'::real[]);
SELECT array_to_median('{1,1,5,2,0}'::float[]);
SELECT array_to_median('{1,1,5,2,0}'::text[]);
SELECT array_to_median('{1,1,5,2,2,0}'::smallint[]);
SELECT array_to_median('{1,1,5,2,2,0}'::integer[]);
SELECT array_to_median('{1,1,5,2,2,0}'::bigint[]);
SELECT array_to_median('{1,1,5,2,2,0}'::real[]);
SELECT array_to_median('{1,1,5,2,2,0}'::float[]);
