Relation from database to filename of e.g. table

Поиск
Список
Период
Сортировка
От Oli Sennhauser
Тема Relation from database to filename of e.g. table
Дата
Msg-id 3f9bf9b0_2@news.bluewin.ch
обсуждение исходный текст
Список pgsql-admin
Hello Admins

Can someone please tell me, which relation gives me the link between a
database and a table?

I want to find out, which table belongs to which database in a cluster.

Something like

SELECT d.datname, c.relname
FROM pg_database d, pg_class c, pg_xxx x
WHERE d.oid = x.oid
   AND x.oid = c.relfilenode

But I did not find the pg_xxx.

Thanks
Oli


В списке pgsql-admin по дате отправления:

Предыдущее
От: athbelahcene khelifa
Дата:
Сообщение: unsubscribe
Следующее
От: "Lau N H"
Дата:
Сообщение: Transaction ID wraparound problem