Skip to content

Commit 95ca285

Browse files
committed
pg_regress: Add application name setting
Set the PGAPPNAME environment variable in pg_regress so that it identifies itself as such instead of "psql".
1 parent c0efc2c commit 95ca285

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/regress/pg_regress.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,8 @@ initialize_environment(void)
691691
{
692692
char *tmp;
693693

694+
putenv("PGAPPNAME=pg_regress");
695+
694696
if (nolocale)
695697
{
696698
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy