I want to change my pg/sql pwd using the syntax
alter user username WITH PASSWORD '*****';
The problem is that my user name contains a period, like user.name
, and it seems the system doesn't allow a period in user name.
So how can I change my password?
You have to double-quote otherwise illegal identifiers. More in the manual.
ALTER USER "a.b" WITH PASSWORD '*****';
Better yet: never use illegal strings to begin with.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With