mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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:
@ -691,6 +691,8 @@ initialize_environment(void)
|
|||||||
{
|
{
|
||||||
char *tmp;
|
char *tmp;
|
||||||
|
|
||||||
|
putenv("PGAPPNAME=pg_regress");
|
||||||
|
|
||||||
if (nolocale)
|
if (nolocale)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user