User Tools

Site Tools


wiki:ostatni:potgres:start
  • \l - list databases
  • \c - connect to db
  • \dn - list schemas
  • \dt - list tables
  • \dtS - list tables + system tables
  • \q - quit
  • postgres=# SHOW search_path;
  • postgres=# \dt
  • postgres=# SET search_path TO api;
  • postgres=# \dt
  • postgres=# SET search_path TO “$user”,public;
wiki/ostatni/potgres/start.txt · Last modified: 2019/12/16 15:35 by root