postgresql/src/include/parser
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
..
analyze.h Harmonize more parameter names in bulk. 2022-09-20 13:09:30 -07:00
kwlist.h Introduce SYSTEM_USER 2022-09-29 15:05:40 +09:00
parse_agg.h Harmonize more parameter names in bulk. 2022-09-20 13:09:30 -07:00
parse_clause.h Revert SQL/JSON features 2022-09-01 17:07:14 -04:00
parse_coerce.h Fix failure to validate the result of select_common_type(). 2022-01-29 11:41:18 -05:00
parse_collate.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
parse_cte.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
parse_enr.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
parse_expr.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
parse_func.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
parse_merge.h Add support for MERGE SQL command 2022-03-28 16:47:48 +02:00
parse_node.h Make subquery aliases optional in the FROM clause. 2022-07-20 09:29:42 +01:00
parse_oper.h Harmonize more parameter names in bulk. 2022-09-20 13:09:30 -07:00
parse_param.h Pre-beta mechanical code beautification. 2022-05-12 15:17:30 -04:00
parse_relation.h Harmonize more parameter names in bulk. 2022-09-20 13:09:30 -07:00
parse_target.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
parse_type.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
parse_utilcmd.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
parser.h Apply PGDLLIMPORT markings broadly. 2022-04-08 08:16:38 -04:00
parsetree.h Update copyright for 2022 2022-01-07 19:04:57 -05:00
scanner.h Harmonize more lexer function parameter names. 2022-09-22 13:27:16 -07:00
scansup.h Update copyright for 2022 2022-01-07 19:04:57 -05:00