Re: psql: show which tables contraints are for with a \d
В списке pgsql-patches по дате отправления:
| От | Rod Taylor |
|---|---|
| Тема | Re: psql: show which tables contraints are for with a \d |
| Дата | |
| Msg-id | 1029498558.24203.27.camel@jester обсуждение исходный текст |
| Ответ на | Re: psql: show which tables contraints are for with a \d (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-patches |
On Fri, 2002-08-16 at 01:15, Tom Lane wrote: > Rod Taylor <rbt@zort.ca> writes: > > It should be noted that my patch in the queue displays the actual > > foreign key definition and suppresses 'Constraint' Triggers. > > > This is a touch better than the below with the side effect that if a > > user issues a CREATE CONSTRAINT TRIGGER manually it is mistakenly > > hidden. > > I was thinking of looking into pg_depend to discover whether a trigger > is associated with a constraint, and hiding the trigger if and only if > we have a constraint to show instead. Anyone want to pursue that? I had assumed that since the keyword CONSTRAINT isn't documented on the CREATE TRIGGER page, that the check for isconstraint would be enough? Erm, except legacy stuff would be hidden. Sure, I'll fix it up.
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера