PostgreSQL 13 ユーザ(ロール)のパスワード変更

psql --user myuser postgres ALTER ROLE myuser WITH PASSWORD 'new_password'; https://www.postgresql.jp/document/13/html/sql-alterrole.html https://www.postgresql.org/docs/13/sql-alterrole.html https://stackoverflow.com/questions/12720967/how-to-change-postgresql-user-password

2022年2月6日 · aoirint

PostgreSQL 13 データベースの名前変更

psql --user myuser postgres ALTER DATABASE mydatabase RENAME TO new_mydatabase; https://www.postgresql.jp/document/13/html/sql-alterdatabase.html https://www.postgresql.org/docs/13/sql-alterdatabase.html https://www.postgresqltutorial.com/postgresql-rename-database/

2022年2月6日 · aoirint