Re: Proposal: Save user's original authenticated identity for logging
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Jacob Champion <pchampion@vmware.com>
Cc: "peter.eisentraut@enterprisedb.com" <peter.eisentraut@enterprisedb.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2021-09-23T10:34:36Z
Lists: pgsql-hackers
On Wed, Sep 22, 2021 at 03:18:43PM +0000, Jacob Champion wrote: > On Wed, 2021-09-22 at 10:20 +0200, Peter Eisentraut wrote: >> This should be added to each level of a function call that represents a >> test. This ensures that when a test fails, the line number points to >> the top-level location of the test_role() call. Otherwise it would >> point to the connect_ok() call inside test_role(). > > Patch LGTM, sorry about that. Thanks! For the places of the patch, that seems fine then. Thanks! Do we need to care about that in other places? We have tests in src/bin/ using subroutines that call things from PostgresNode.pm or TestLib.pm, like pg_checksums, pg_ctl or pg_verifybackup, just to name three. -- Michael
Commits
-
Add missing $Test::Builder::Level settings
- 73aa5e0cafd0 15.0 landed
- e536a2683439 14.0 landed
-
Add some information about authenticated identity via log_connections
- 9afffcb833d3 14.0 landed
-
Fix some issues with SSL and Kerberos tests
- 5a71964a832f 14.0 landed
-
Refactor all TAP test suites doing connection checks
- c50624cdd248 14.0 landed