Re: ClonedConstraint typedef is dead code?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: ClonedConstraint typedef is dead code?
Date: 2019-05-15 21:27:28
Message-ID: 17150.1557955648@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)2ndquadrant(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2019-05-15 21:30:42 Re: Emacs vs pg_indent's weird indentation for function declarations
Previous Message Thomas Munro 2019-05-15 21:26:47 Re: Emacs vs pg_indent's weird indentation for function declarations