Re: [HACKERS] Operator definitions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Adriaan Joubert <a(dot)joubert(at)albourne(dot)com>
Cc: Postgresql <pgsql-hackers(at)postgreSQL(dot)org>, Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu>
Subject: Re: [HACKERS] Operator definitions
Date: 1999-09-22 20:56:20
Message-ID: 2198.938033780@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Adriaan Joubert <a(dot)joubert(at)albourne(dot)com> writes:
> I've got a big problem: I had an operator defined as follows:
> CREATE OPERATOR ^ (
> leftarg = bit1,
> rightarg = bit1,
> procedure = bit1xor
> );
> and this was fine until 6.5.1, but in 6.5.2 I get
> ERROR: parser: parse error at or near "^"

It looks to me like '^' and '|' have been left out of the alternatives
for MathOp in src/backend/parser/gram.y. It could be they were
deliberately omitted, but I bet it's just an oversight.

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Lamar Owen 1999-09-22 21:08:47 Re: [HACKERS] Compile timing
Previous Message The Hermit Hacker 1999-09-22 20:54:32 Re: [HACKERS] All things equal, we are still alot slower then MySQL?