Rewrite ExecPartitionCheckEmitError for clarity

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: e8b0e6b82dbdb4459ec19f9871f691dfa7d1902c
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2018-12-28T17:47:05Z
Releases: 12.0
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

Files

PathChange+/−
src/backend/executor/execMain.c modified +21 −15

Discussion