select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

SYSTEM CATALOGS / SYSTEM VIEWS

The view pg_user provides access to information about database users.

Kind
System views
Columns in this snapshot
9
Definition source
English manual

Columns 9

ColumnTypeDescription / reference
usenamenameUser name
usesysidoidID of this user
usecreatedbboolUser can create databases
usesuperboolUser is a superuser
usereplboolUser can initiate streaming replication and put the system in and out of backup mode.
usebypassrlsboolUser bypasses every row-level security policy, see Section 5.9 for more information.
passwdtextNot the password (always reads as ********)
valuntiltimestamptzPassword expiry time (only used for password authentication)
useconfigtext[]Session defaults for run-time configuration variables
Column history across versions
Version history 6
  1. PG 18 → 19changed
  2. PG 16 → 17changed
  3. PG 13 → 14changed
  4. PG 11 → 12changed
  5. PG 9.4 → 9.5changed
  6. PG 9.1 → 9.2changed

Definition snapshot: english-manuals:1d8d124cb2e01de0f45d8e821c3… · English manual source