Postgres – komendy

Poziom klienta – terminala psql

\l[+]      - lista baz danych


\dt[+]      - lista tabel
\dp         - tabele, widoki, uprawnienia

\du     - użytkownicy / role

DESC users – struktura tabeli users

\d+ users
\dT[+]      - schema
\dO[+]      - collations
help \?
\q      - WYJŚCIE
exit
select version();

PostgreSQL 13.20 (Debian 13.20-0+deb11u1) on x86_64-pc-linux-gnu, compiled by gcc