Rewrite ExecPartitionCheckEmitError for clarity
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 28 Dec 2018 17:47:05 +0000 (14:47 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 28 Dec 2018 17:47:05 +0000 (14:47 -0300)
commite8b0e6b82dbdb4459ec19f9871f691dfa7d1902c
tree5244737b43498cd62ef4e4af33b9a1b9df4d020c
parentf7ea1a42337f45efed7c4d44f50f62a55e60d30c
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
src/backend/executor/execMain.c