Aqui crean una tabla, y con un sprintf arman un insert.
Por cierto, si bajaste el tgz, viene en/usr/src/psql/contrib/pginterface
--Saludos