| От | Tom Lane |
|---|---|
| Тема | Re: Simple list tables question |
| Дата | |
| Msg-id | 25781.1079886290@sss.pgh.pa.us обсуждение |
| Ответ на | Simple list tables question (Mihai Tanasescu <Mihai.Tanasescu@skyraven.pcnet.ro>) |
| Ответы |
Re: Simple list tables question
|
| Список | pgsql-novice |
Mihai Tanasescu <Mihai.Tanasescu@skyraven.pcnet.ro> writes:
> If I login with user bbstatus to database bbstatus then I can do a
> "\dt" and show the tables it contains but if I login with user postgres
> which is a superuser and I try a "\dt" I get no results.
It's got nothing to do with permissions --- it has to do with your
search path. Schema bbstatus isn't in postgres' default search path
and so by default \dt doesn't show its contents.
You could see 'em with \dt *.* or \dt bbstatus.*, or you could set
search_path to include bbstatus.
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера