Re: obtaining proc oid given a oper id

From: CK Tan <cktan(at)vitessedata(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: obtaining proc oid given a oper id
Date: 2023-08-10 22:12:28
Message-ID: CAJNt7=Y9xgt6Sr4X7NoCRvfaHORhfZ7kVu32O_pma3jW8CKV4A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)vitessedata(dot)com> wrote:
>
> Hi Hackers, is there a function that would lookup the proc that
> implements an operator?
>
> Thanks,
> -cktan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2023-08-10 22:25:57 Re: [PATCH] Reuse Workers and Replication Slots during Logical Replication
Previous Message Tom Lane 2023-08-10 22:09:03 Re: Add PG CI to older PG releases