how to view your user name on psql code example Example: postgresql get current user name SELECT current_user;