Re: ClonedConstraint typedef is dead code?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: ClonedConstraint typedef is dead code?
Дата
Msg-id 20190515191940.GA6777@alvherre.pgsql
обсуждение исходный текст
Ответ на ClonedConstraint typedef is dead code?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: ClonedConstraint typedef is dead code?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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,

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Are ctid chaining loops safe without relation size checks?
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: Replace hashtable growEnable flag