Plc Programming Create Function Postgresql Data Type