how to get the user name in postgresql code example Example: postgresql get current user name SELECT current_user;