| От | Tom Lane |
|---|---|
| Тема | Re: Confused About pg_* Tables |
| Дата | |
| Msg-id | 20772.1318624577@sss.pgh.pa.us обсуждение |
| Ответ на | Confused About pg_* Tables (Carlos Mennens <carlos.mennens@gmail.com>) |
| Список | pgsql-general |
Carlos Mennens <carlos.mennens@gmail.com> writes:
> I'm confused about how I'm able to access the following pg_* tables
> regardless of connected database. I thought these tables were hidden
> or stored in the 'postgres' database but I'm still able to access this
> data regardless of which database I'm connected to:
The underlying "pg_authid" catalog is a shared catalog that can be seen
from any database in the installation, just like pg_database. pg_user
is a view on this catalog, and so not shared in itself, but nonetheless
you'll see the same contents from every database.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера