Skip to main content

Session information

Functions providing information about the query execution environment.

current_user

Returns the current user running the query.

current_groups

Returns the list of groups for the current user running the query.

current_catalog

Returns a character string that represents the current catalog name.

current_schema

Returns a character string that represents the current unqualified schema name.

note

This is part of the SQL standard and does not use parenthesis.