| From: | Adriaan Joubert <a(dot)joubert(at)albourne(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| 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-23 07:45:09 |
| Message-ID: | 37E9DA85.F0210261@albourne.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> 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.
OK, here is a patch to allow both ^ and | as operators, both in operator
definitions and expressions. It seems to work for me. Unfortunately the
regression tests do not tell me an awful lot, as several of them fail on
the Alpha anyway. As I don;t really know what I'm doing, I'd appreciate
it if somebody else could check the patch out and let me know whether it
is ok.
Cheers,
Adriaan
| Attachment | Content-Type | Size |
|---|---|---|
| pgram | text/plain | 703 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jan Wieck | 1999-09-23 07:51:08 | Re: [HACKERS] Compile timing |
| Previous Message | Adam Haberlach | 1999-09-23 05:45:55 |