Re: obtaining proc oid given a oper id - Mailing list pgsql-hackers

From CK Tan
Subject Re: obtaining proc oid given a oper id
Date
Msg-id CAJNt7=Y9xgt6Sr4X7NoCRvfaHORhfZ7kVu32O_pma3jW8CKV4A@mail.gmail.com
Whole thread Raw
In response to obtaining proc oid given a oper id  (CK Tan <cktan@vitessedata.com>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Add PG CI to older PG releases
Next
From: Peter Smith
Date:
Subject: Re: [PATCH] Reuse Workers and Replication Slots during Logical Replication