Fix more user-visible elog() calls.

Robert Haas <rhaas@postgresql.org>

Commit: 32022e3f55eab593bcd829341216810730911d51
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-10-05T12:32:48Z
Releases: 9.5.10
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