Answers for "change user in psql"

SQL
11

alter user password postgres

ALTER USER user_name WITH PASSWORD 'new_password';
Posted by: Guest on March-12-2021
2

psql create user

# https://www.postgresql.org/docs/8.0/sql-createuser.html
CREATE USER <username> WITH PASSWORD '<password>' VALID UNTIL '<date here>';
Posted by: Guest on April-08-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language