postgresql user/role

CREATE ROLE jonathan LOGIN;
CREATE USER davide WITH PASSWORD 'jw8s0F4';
CREATE ROLE miriam WITH LOGIN PASSWORD 'jw8s0F4' VALID UNTIL '2005-01-01';
CREATE ROLE admin WITH CREATEDB CREATEROLE;

CREATE USER testges WITH CREATEDB PASSWORD 'testges';

https://www.postgresql.org/docs/current/sql-createrole.html
https://www.postgresql.org/docs/current/sql-createuser.html

Komentar

Postingan populer dari blog ini

windows 11 remove usb write-protected

Tutorial susah instalasi GeoServer di Windows

Bagian-bagian Browser

nyoblos perdana