Thread: obtaining proc oid given a oper id

obtaining proc oid given a oper id

From
CK Tan
Date:
Hi Hackers, is there a function that would lookup the proc that
implements an operator?

Thanks,
-cktan



Re: obtaining proc oid given a oper id

From
CK Tan
Date:
Found it.

/*
 * get_opcode
 *
 *              Returns the regproc id of the routine used to implement an
 *              operator given the operator oid.
 */
RegProcedure
get_opcode(Oid opno)

On Thu, Aug 10, 2023 at 1:17 PM CK Tan <cktan@vitessedata.com> wrote:
>
> Hi Hackers, is there a function that would lookup the proc that
> implements an operator?
>
> Thanks,
> -cktan