pg_regress: Add application name setting

Set the PGAPPNAME environment variable in pg_regress so that it
identifies itself as such instead of "psql".
This commit is contained in:
Peter Eisentraut 2012-02-21 16:45:19 +02:00
parent c0efc2c2ab
commit 95ca2859f4
1 changed files with 2 additions and 0 deletions

View File

@ -691,6 +691,8 @@ initialize_environment(void)
{
char *tmp;
putenv("PGAPPNAME=pg_regress");
if (nolocale)
{
/*