On Mon, Jul 24, 2017 at 7:23 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Rushabh Lathia <rushabh.lathia@gmail.com> writes: > PFA patch, where added elog() to add the error message same as all other > places.
Some looking around says that this *isn't* the only place that just blithely assumes that it will find an opfamily entry. But I agree that not checking for that isn't up to project standards.
Thanks Tom.
I go thorough the get_opfamily_proc() in the system and added the check for InvalidOid.