Postgres Call Function In C