Fix comment in ATExecValidateConstraint

From: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Fix comment in ATExecValidateConstraint
Date: 2016-07-25 08:18:33
Message-ID: 41e48ea2-40b2-f743-bacc-df199e69369d@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
update-comment.patch text/x-diff 565 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro HORIGUCHI 2016-07-25 08:18:36 Re: Constraint merge and not valid status
Previous Message Michael Paquier 2016-07-25 08:04:17 Re: Password identifiers, protocol aging and SCRAM protocol