postgresql/src/test/regress
Michael Paquier 0823d061b0 Introduce SYSTEM_USER
SYSTEM_USER is a reserved keyword of the SQL specification that,
roughly described, is aimed at reporting some information about the
system user who has connected to the database server.  It may include
implementation-specific information about the means by the user
connected, like an authentication method.

This commit implements SYSTEM_USER as of auth_method:identity, where
"auth_method" is a keyword about the authentication method used to log
into the server (like peer, md5, scram-sha-256, gss, etc.) and
"identity" is the authentication identity as introduced by 9afffcb (peer
sets authn to the OS user name, gss to the user principal, etc.).  This
format has been suggested by Tom Lane.

Note that thanks to d951052, SYSTEM_USER is available to parallel
workers.

Bump catalog version.

Author: Bertrand Drouvot
Reviewed-by: Jacob Champion, Joe Conway, Álvaro Herrera, Michael Paquier
Discussion: https://postgr.es/m/7e692b8c-0b11-45db-1cad-3afc5b57409f@amazon.com
2022-09-29 15:05:40 +09:00
..
data Fix full text search to handle NOT above a phrase search correctly. 2020-04-27 12:21:04 -04:00
expected Introduce SYSTEM_USER 2022-09-29 15:05:40 +09:00
sql Introduce SYSTEM_USER 2022-09-29 15:05:40 +09:00
.gitignore Fix inconsistencies and typos in the tree, take 10 2019-08-13 13:53:41 +09:00
GNUmakefile Refactor DLSUFFIX handling 2022-03-25 08:56:02 +01:00
Makefile Fix non-GNU makefiles for AIX make. 2017-11-30 00:57:22 -08:00
meson.build meson: pg_regress: Define a HOST_TUPLE sufficient to make resultmap work 2022-09-28 18:48:19 -07:00
parallel_schedule Revert SQL/JSON features 2022-09-01 17:07:14 -04:00
pg_regress_main.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
pg_regress.c Use SIGNAL_ARGS consistently to declare signal handlers. 2022-09-14 14:44:50 -04:00
pg_regress.h regress: allow to specify directory containing expected files, for ecpg 2022-08-20 10:59:01 -07:00
README Don't generate plain-text HISTORY and src/test/regress/README anymore. 2014-02-10 20:48:04 -05:00
regress.c Split up guc.c for better build speed and ease of maintenance. 2022-09-13 11:11:45 -04:00
regressplans.sh Fix inconsistencies in the code 2019-07-08 13:15:09 +09:00
resultmap Remove HP-UX port. 2022-07-08 14:05:05 +12:00

Documentation concerning how to run these regression tests and interpret
the results can be found in the PostgreSQL manual, in the chapter
"Regression Tests".