Re: ClonedConstraint typedef is dead code?

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tomas Vondra 2019-05-15 19:58:01 Re: Replace hashtable growEnable flag
Previous Message Tom Lane 2019-05-15 19:09:34 Re: Are ctid chaining loops safe without relation size checks?