↑↓ select ↵ open ⌫ change scope Open full search

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

Functions / System Information Functions And Operators

current_role

Read the PG 18 manual

This is equivalent to current_user.

Reading PG 18current·documented in 16 of 27 versions, 9.2 to 20

Signatures & examples

current_role → name
This is equivalent to current_user.
Version history 2
  1. 12 → 13 changed
  2. 9.1 → 9.2 added

Definition snapshot: b7bd9cda · English manual source