select *
from rpt.fer_NoFerSpec_pg(
cast($1 as int8), 
cast(to_timestamp($2,'dd.mm.yyyy') as timestamp))
