Re: Determine operator from it's function - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Determine operator from it's function
Date
Msg-id 55963ADA.4070700@iki.fi
Whole thread Raw
In response to Determine operator from it's function  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Responses Re: Determine operator from it's function
List pgsql-hackers
On 07/03/2015 01:20 AM, Jim Nasby wrote:
> Is there a way to determine the operator that resulted in calling the
> operator function? I thought fcinfo->flinfo->fn_expr might get set to
> the OpExpr, but seems it can be a FuncExpr even when called via an
> operator...

Don't think there is. Why do you need to know?

- Heikki



pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: copy.c handling for RLS is insecure
Next
From: Beena Emerson
Date:
Subject: Re: Support for N synchronous standby servers - take 2