Commit 95ca2859 authored by Peter Eisentraut's avatar Peter Eisentraut

pg_regress: Add application name setting

Set the PGAPPNAME environment variable in pg_regress so that it
identifies itself as such instead of "psql".
parent c0efc2c2
...@@ -691,6 +691,8 @@ initialize_environment(void) ...@@ -691,6 +691,8 @@ initialize_environment(void)
{ {
char *tmp; char *tmp;
putenv("PGAPPNAME=pg_regress");
if (nolocale) if (nolocale)
{ {
/* /*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment