added inserter_pgsql; ugly, but works