pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marc Cousin <cousinmarc@gmail.com>
To: pgsql-docs@postgresql.org
Subject: CREATE OPERATOR and precedence
Date: Thu, 8 Jul 2010 16:28:30 +0200
Message-ID: <201007081628.30860.cousinmarc@gmail.com> (raw)

Hi,

I just got caught by a precedence problem with CREATE OPERATOR.

Obviously, it was mostly my fault (I didn't think of the precedence of my 
operator at all), but I didn't find anything in the CREATE OPERATOR 
documentation about it either.

From looking at the code, I think I understood that it has a very low 
precedence, but shouldn't it be specified in the documentation (so that at 
least distracted people like me think of precedence next time they create an 
operator :) ) ?

Cheers

Marc



view thread (2+ messages)  latest in thread

Message-ID: <201007081628.30860.cousinmarc@gmail.com>
Permalink:  ../201007081628.30860.cousinmarc@gmail.com/
Also on:    postgresql.org/message-id/201007081628.30860.cousinmarc@gmail.com

 · 

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-docs@postgresql.org
  Cc: cousinmarc@gmail.com
  Subject: Re: CREATE OPERATOR and precedence
  In-Reply-To: <201007081628.30860.cousinmarc@gmail.com>

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

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