set_user
similar to SET ROLE but with added logging
Module:
Categories:
Overview
PGDG 1st Party Extension: set_user
: similar to SET ROLE but with added logging
Information
- Extension ID: 7160
- Extension Name:
set_user
- Package Name:
set_user
- Category:
SEC
- License: PostgreSQL
- Website: https://github.com/pgaudit/set_user
- Language: C
- Extra Tags: N/A
- Comment: N/A
Metadata
- Latest Version: 4.1.0
- Postgres Support:
17
,16
,15
,14
,13
- Need Load: Shared library do not need explicit loading
- Need DDL: Need
CREATE EXTENSION
DDL - Relocatable: Can be installed into other schemas
- Trusted: Untrusted, Require Superuser to Create
- Schemas: N/A
- Requires: N/A
RPM / DEB
- RPM Repo: PGDG
- RPM Name:
set_user_$v*
- RPM Ver :
4.1.0
- RPM Deps: N/A
- DEB Repo: PGDG
- DEB Name:
postgresql-$v-set-user
- DEB Ver :
4.1.0
- DEB Deps: N/A
Availability
Installation
Install set_user
via the pig
CLI tool:
pig ext install set_user
Install set_user
via Pigsty playbook:
./pgsql.yml -t pg_extension -e '{"pg_extensions": ["set_user"]}' # -l <cls>
Install set_user
RPM from YUM repo directly:
dnf install set_user_17*;
dnf install set_user_16*;
dnf install set_user_15*;
dnf install set_user_14*;
dnf install set_user_13*;
Install set_user
DEB from APT repo directly:
apt install postgresql-17-set-user;
apt install postgresql-16-set-user;
apt install postgresql-15-set-user;
apt install postgresql-14-set-user;
apt install postgresql-13-set-user;
Create set_user
extension on PostgreSQL cluster:
CREATE EXTENSION set_user;
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.