Fix comment in ATExecValidateConstraint - Mailing list pgsql-hackers

From Amit Langote
Subject Fix comment in ATExecValidateConstraint
Date
Msg-id 41e48ea2-40b2-f743-bacc-df199e69369d@lab.ntt.co.jp
Whole thread Raw
Responses Re: Fix comment in ATExecValidateConstraint  (Robert Haas <robertmhaas@gmail.com>)
Re: Fix comment in ATExecValidateConstraint  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
List pgsql-hackers
The comment seems to have been copied from ATExecAddColumn, which says:

 /*
  * If we are told not to recurse, there had better not be any
- * child tables; else the addition would put them out of step.

For ATExecValidateConstraint, it should say something like:

+ * child tables; else validating the constraint would put them
+ * out of step.

Attached patch fixes it.

Thanks,
Amit

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Password identifiers, protocol aging and SCRAM protocol
Next
From: Kyotaro HORIGUCHI
Date:
Subject: Re: Constraint merge and not valid status