Re: ClonedConstraint typedef is dead code?
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2019-05-15T21:27:28Z
Lists: 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
Commits
-
Remove no-longer-used typedef.
- 8a0f0ad54047 12.0 landed