2
我想知道爲什麼\d
只列出公共模式中的表?我有另一種模式在數據庫中,SPS,但這些表中未列出...PostgreSQL命令沒有列出所有模式
# psql -p 5432 -U postgres -h localhost myDB
Password for user postgres:
psql (9.1.5)
Type "help" for help.
myDB=# \d
List of relations
Schema | Name | Type | Owner
--------+----------------------------+----------+----------
public | tableA | table | postgres
public | tableB | table | postgres
public | tableC | table | postgres
public | table_col_seq | sequence | postgres
(4 rows)
大,謝謝! – littleK