declare $a as pgdate;

select $a;

