| От | Andre Majorel |
|---|---|
| Тема | Inspecting a DB - psql or system tables ? |
| Дата | |
| Msg-id | 20110527172456.GC6769@aym.net2.nerim.net обсуждение исходный текст |
| Ответы |
Re: Inspecting a DB - psql or system tables ?
Re: Inspecting a DB - psql or system tables ? |
| Список | pgsql-general |
Suppose you want to write a program that connects to a PostgreSQL database and lists its tables and views, the type of their columns and their relationships (REFERENCES) for automatic joins. Would you look at the system tables (pg_class et al.) or the output of psql \d, \dt, etc ? While parsing the output of psql is cumbersome, accessing the system tables seems more likely to break whenever a new version of PostgreSQL comes out. -- André Majorel http://www.teaser.fr/~amajorel/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера