зеркало из
https://github.com/iharh/notes.git
synced 2025-10-30 05:06:05 +02:00
21 строка
325 B
Plaintext
21 строка
325 B
Plaintext
\dn
|
|
list [non-sys] schemas
|
|
\dt
|
|
list tables
|
|
|
|
current_schemas(true)
|
|
pg_temp_<N>, pg_catalog, public, app
|
|
|
|
search_path
|
|
pg_temp (pg_temp_<N>)
|
|
$user
|
|
gp_catalog
|
|
public
|
|
|
|
alter database <dbname> set search_path=...;
|
|
|
|
alter table <tablename> set schema=...;
|
|
|
|
create schema...
|
|
drop schema ... drop cascade;
|