Fix more user-visible elog() calls.

Robert Haas <rhaas@postgresql.org>

Commit: c097b271e8a14eac5e6189139deca66796b16a59
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-10-05T11:58:02Z
Releases: 11.0
Fix more user-visible elog() calls.

Michael Paquier discovered that this could be triggered via SQL;
give a nicer message instead.

Patch by Michael Paquier, reviewed by Masahiko Sawada.

Discussion: http://postgr.es/m/CAB7nPqQtPg+LKKtzdKN26judHcvPZ0s1gNigzOT4j8CYuuuBYg@mail.gmail.com

Files

Discussion