Overview
The pg_get_userbyid() is a system catalog information function that retrieves that name of a user (role) given its unique identifier (OID).Syntax
The syntax for thepg_get_userbyid()
function is as follows:
Parameters
The following parameters are required to execute this function:role_oid
: specifies the object identifier (OIDs) of the users