I'm logged in by a console in a Postgresql database with the postgres user. I have another user in which I want to stop, but I can not find what command to execute by console to do this. How to move from one user to the other. Logged as posgres indicated: su - user2 and y does not change. I need the user to change from postgres = # to user2 = # in the console Of course I have user password 2.