diff options
author | Michael Paquier <michael@paquier.xyz> | 2023-01-16 13:58:07 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2023-01-16 13:58:07 +0900 |
commit | 02d3448f4f792964995b8071fa07176606e1af85 (patch) | |
tree | a902522ccab3f52864a8cce1dfa9318779265c90 /src/backend/access/transam/xlog.c | |
parent | 647fa500547fdf2a967412633a9f6f21ba69e144 (diff) | |
download | postgresql-02d3448f4f792964995b8071fa07176606e1af85.tar.gz postgresql-02d3448f4f792964995b8071fa07176606e1af85.zip |
Store IdentLine->pg_user as an AuthToken
While system_user was stored as an AuthToken in IdentLine, pg_user was
stored as a plain string. This commit changes the code as we start
storing pg_user as an AuthToken too.
This does not have any functional changes, as all the operations on
pg_user only use the string from the AuthToken. There is no regexp
compiled and no check based on its quoting, yet. This is in preparation
of more features that intend to extend its capabilities, like support
for regexps and group membership.
Author: Jelte Fennema
Discussion: https://postgr.es/m/CAGECzQRNow4MwkBjgPxywXdJU_K3a9+Pm78JB7De3yQwwkTDew@mail.gmail.com
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions