Postgres Call Function From Another Script