how to find postgres username and password code example Example: postgresql get current user name SELECT current_user;