added pgsql sample