agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jian He <hejian.mark@gmail.com>
Cc: pgsql-sql <pgsql-sql@lists.postgresql.org>
Subject: Re: the order of operator computation
Date: Fri, 25 Mar 2022 01:32:58 -0400
Message-ID: <3193283.1648186378@sss.pgh.pa.us> (raw)
In-Reply-To: <CAMV54g3uW+jQkVnOaSQOU9fVsYjmz1XF8v-bzRZyPvsJLSuNOw@mail.gmail.com>
References: <CAMV54g3uW+jQkVnOaSQOU9fVsYjmz1XF8v-bzRZyPvsJLSuNOw@mail.gmail.com>

Jian He <hejian.mark@gmail.com> writes:
> Is there some way to achieve:
>  *Operator LEFTARG RIGHTARG *

Maybe with some hack-and-slash in gram.y, but it's not something
we'd be interested in supporting.  What will you do to disambiguate
prefix/infix (1 vs 2 arg) operators?

			regards, tom lane





view thread (2+ messages)

Message-ID: <3193283.1648186378@sss.pgh.pa.us>
Permalink:  ../3193283.1648186378@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3193283.1648186378@sss.pgh.pa.us

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, hejian.mark@gmail.com, pgsql-sql@lists.postgresql.org
  Subject: Re: the order of operator computation
  In-Reply-To: <3193283.1648186378@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox