Reorganize

This commit is contained in:
oleg20111511
2026-03-02 19:15:17 +02:00
parent 9192716bfb
commit f235a35ebb
610 changed files with 1 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
Start:
su postgres
psql
Show databases:
\l
Switch to database:
\c [name]
Show tables
\dt
Create new database and user:
create database mydb;
create user myuser with encrypted password 'mypass';
grant all privileges on database mydb to myuser;