I figured it would be good if pg_regress reported its application_nameas "pg_regress" rather than "psql". Any objections to the attachedpatch?