Re: pg_get_constraintdef

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: pg_get_constraintdef
Дата
Msg-id GNELIHDDFBOCMGBFGEFOGEPKCEAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: pg_get_constraintdef  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_get_constraintdef  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
Список pgsql-hackers
> "Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> > Is there some reason why pg_get_constraintdef only supports Foreign Key
> > constraints?
>
> Lack of implementation effort --- the original definition/implementation
> was FK-specific, but now, as the code says,
>
>  * XXX The present implementation only works for foreign-key
> constraints, but
>  * it could and should handle anything pg_constraint stores.
>
> Feel free to contribute some code.

I will, but unfortunately the damage has already been done...since I have to
support 7.3 anyway, fixing the above problem will actually make my life
harder, not easier...

Chris



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_get_constraintdef
Следующее
От: Kevin Brown
Дата:
Сообщение: Re: sync()