Re: useless argument of ATAddForeignKeyConstraint

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Amit Langote <amitlangote09(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: useless argument of ATAddForeignKeyConstraint
Date: 2021-05-05 16:33:39
Message-ID: 20210505163339.GA17435@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2019-Feb-14, Amit Langote wrote:

> While reviewing the foreign keys referencing partitioned tables patch, I
> noticed that the parentConstr argument of ATAddForeignConstraint is
> rendered useless by the following commit:

> Maybe remove that argument in HEAD ? Attached a patch.

Indeed -- two years later this is still valid, so applied, with thanks!

--
Álvaro Herrera 39°49'30"S 73°17'W
"Investigación es lo que hago cuando no sé lo que estoy haciendo"
(Wernher von Braun)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2021-05-05 16:34:36 Re: pg_receivewal makes a bad daemon
Previous Message vignesh C 2021-05-05 15:55:51 Re: Printing backtrace of postgres processes