obtaining proc oid given a oper id

Started by CK Tanover 2 years ago2 messages
#1CK Tan
cktan@vitessedata.com

Hi Hackers, is there a function that would lookup the proc that
implements an operator?

Thanks,
-cktan

#2CK Tan
cktan@vitessedata.com
In reply to: CK Tan (#1)
Re: obtaining proc oid given a oper id

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)

Show quoted text

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