Re: ClonedConstraint typedef is dead code?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ClonedConstraint typedef is dead code?
Дата
Msg-id 17150.1557955648@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ClonedConstraint typedef is dead code?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> On 2019-May-15, Tom Lane wrote:
>> catalog/pg_constraint.h defines a typedef ClonedConstraint,
>> which AFAICS is no longer referenced anywhere.  Is there a
>> reason not to remove it?

> Oh, I didn't realize it had become completely unused!  It was used for
> FK creation in partitioned tables, but we rewrote that code completely
> and I don't foresee needing that struct for anything in the future, so
> it seems safe to remove.

Thanks, done.

            regards, tom lane



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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Re: Emacs vs pg_indent's weird indentation for function declarations
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Emacs vs pg_indent's weird indentation for function declarations