当我试图在模式中列出表boarding_passes
的信息时,出现了一个错误:
demo=# \d boarding_passes
Did not find any relation named "boarding_passes".
下面是我的模式中所有关系的列表:
demo=# \dt bookings.*
List of relations
Schema | Name | Type | Owner
----------+-----------------+-------+-------
bookings | aircrafts | table | dba
bookings | airports | table | dba
bookings | boarding_passes | table | dba
bookings | bookings | table | dba
bookings | flights | table | dba
bookings | seats | table | dba
bookings | ticket_flights | table | dba
bookings | tickets | table | dba
(8 rows)
1条答案
按热度按时间oymdgrw71#
由于
bookings
显然不在您的search_path
上,因此您需要使用