| От | Tom Lane |
|---|---|
| Тема | Re: Question on SQL and pg_-tables |
| Дата | |
| Msg-id | 8774.1038249125@sss.pgh.pa.us обсуждение |
| Ответ на | Question on SQL and pg_-tables (Tilo Schwarz <mail@tilo-schwarz.de>) |
| Ответы |
Re: Question on SQL and pg_-tables
|
| Список | pgsql-sql |
Tilo Schwarz <mail@tilo-schwarz.de> writes:
> - Is it possible to get not only the two tables, but also their corresponding
> two columns involved in a RI-Constraint out of the pg_* tables just with a
> SQL query?
Not easily --- the column info is buried in the pg_trigger.tgargs entries
for the RI triggers, which there is no good way to take apart in plain SQL.
You might care to start experimenting with 7.3 instead; the new
pg_constraint table makes this much easier.
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера