Make some sanity-check elogs more verbose A few sanity checks in funcapi.c were not mentioning all the possible clauses for failure, confusing developers who fat-fingered catalog data additions. Make the errors more detailed to avoid wasting time in pinpointing mistakes.
Per complaint from Craig Ringer. Reviewed-by: Tom Lane <[email protected]> Discussion: https://postgr.es/m/camsr+yh7kd87a3cu5m_wko46hpq46zfv5wesfnl0ywxkghg...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/fe051291550ab88267ce3104e9833925bf757393 Modified Files -------------- src/backend/utils/fmgr/funcapi.c | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-)
