convenience function "pg-one-row"

pick up first (typically, expecting only one) row from query,
release result set