pgsql: Rewrite ExecPartitionCheckEmitError for clarity

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Rewrite ExecPartitionCheckEmitError for clarity
Date: 2018-12-28 17:52:02
Message-ID: E1gcwIk-0002s6-3q@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Rewrite ExecPartitionCheckEmitError for clarity

The original was hard to follow and failed to comply with DRY principle.

Discussion: https://postgr.es/m/20181206222221.g5witbsklvqthjll@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e8b0e6b82dbdb4459ec19f9871f691dfa7d1902c

Modified Files
--------------
src/backend/executor/execMain.c | 36 +++++++++++++++++++++---------------
1 file changed, 21 insertions(+), 15 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2018-12-28 18:18:40 pgsql: Fix thinko in previous commit
Previous Message Michael Paquier 2018-12-28 01:20:46 pgsql: Clarify referential actions in docs of CREATE/ALTER TABLE