Issue explicit error messages for attempts to use "shell" operators in
commit497bc6b3ce6105ba45386352e6c45c152a20be39
authortgl <tgl>
Tue, 22 Apr 2008 01:34:34 +0000 (22 01:34 +0000)
committertgl <tgl>
Tue, 22 Apr 2008 01:34:34 +0000 (22 01:34 +0000)
treee1c5204db20e0642eb6b53fa6d82168d9f13e105
parent19bfaeba42d5844b19ae94e681fbf63aed4b95e0
Issue explicit error messages for attempts to use "shell" operators in
ordinary expressions.  This probably doesn't catch every single case
where you might get "cache lookup failed for function 0" for use of a
shell operator, but it will catch most.  Per bug #4120 from Pedro Gimeno.

This patch incidentally folds make_op_expr() into its sole remaining
caller --- the alternative was to give it yet more arguments, which
didn't seem an improvement.
src/backend/parser/parse_oper.c