Re: Determine operator from it's function

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Determine operator from it's function
Date: 2015-07-03 07:33:46
Message-ID: 55963ADA.4070700@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Beena Emerson 2015-07-03 07:34:13 Re: Support for N synchronous standby servers - take 2
Previous Message Amit Kapila 2015-07-03 07:21:08 Re: Let PostgreSQL's On Schedule checkpoint write buffer smooth spread cycle by tuning IsCheckpointOnSchedule?