hi.

in plancat.c, function: get_relation_constraints

```
for (i = 0; i < num_check; i++)
{
    Node       *cexpr;
    /*
      * If this constraint hasn't been fully validated yet, we must
      * ignore it here.  Also ignore if NO INHERIT and we weren't told
      * that that's safe.
      */
    if (!constr->check[i].ccvalid)
      continue;

    /*
      * NOT ENFORCED constraints are always marked as invalid, which
      * should have been ignored.
      */
    Assert(constr->check[i].ccenforced);

    /*
      * Also ignore if NO INHERIT and we weren't told that that's safe.
      */
    if (constr->check[i].ccnoinherit && !include_noinherit)
      continue;
}
``

The first "Also ignore if NO INHERIT and we weren't told that that's
safe." is duplicated,
also it's in the wrong place?
The second one is fine.


Reply via email to