Re: libpq environment variables in the server

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: libpq environment variables in the server
Date: 2019-03-14 11:06:45
Message-ID: 35af0500-5eea-d2f0-339e-07a457a5f6bc@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2019-03-03 09:06, Noah Misch wrote:
> +1 for clearing PGAPPNAME before starting a test postmaster.

> I think this qualifies:
> env -i LANG=C "$(type -p pg_ctl)" -w restart -D "$PGDATA"

OK, let's make this simpler then. Here is an updated patch that just
unsets PGAPPNAME around pg_ctl invocations in the testing library, and
then adjusts the tests to remove no longer needed application_name
overrides.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
0001-Don-t-propagate-PGAPPNAME-through-pg_ctl-in-tests.patch text/plain 23.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Auguste Comte 2019-03-14 11:10:17 Google Summer of Code
Previous Message MikalaiKeida 2019-03-14 11:01:06 RE: Timeout parameters