Received: from sapphire.albourne.com (root@sapphire.albourne.com [195.212.241.227]) by hub.org (8.9.3/8.9.3) with ESMTP id KAA58859 for ; Thu, 23 Sep 1999 10:57:04 -0400 (EDT) (envelope-from a.joubert@albourne.com) Received: from isadora.cy.albourne.com (akamas.albourne.com [195.212.241.254]) by sapphire.albourne.com (8.9.3/8.9.3/Albourne/CYS/1.6X) with ESMTP id RAA17202; Thu, 23 Sep 1999 17:59:31 +0300 (EET DST) Received: from albourne.com (localhost [127.0.0.1]) by isadora.cy.albourne.com (8.9.3/8.9.3/Albourne/CYC/1.4) with ESMTP id RAA31860; Thu, 23 Sep 1999 17:56:56 +0300 (EET DST) Sender: a.joubert@albourne.com Message-ID: <37EA3FB8.95336FAE@albourne.com> Date: Thu, 23 Sep 1999 17:56:56 +0300 From: Adriaan Joubert Organization: APL Financial Services (Overseas) Ltd X-Mailer: Mozilla 4.61 [en] (X11; U; OSF1 V4.0 alpha) X-Accept-Language: en MIME-Version: 1.0 To: Tom Lane CC: Postgresql , Thomas Lockhart Subject: Re: [HACKERS] Operator definitions References: <14154.938097658@sss.pgh.pa.us> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Tom Lane wrote: > > Adriaan Joubert writes: > > 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. > > If you search for, eg, '%', you will find there are several production > lists that call out all the operators; your patch only caught one of them. > Well, as I said, I don't really understand what is going on in that file and I added the minimum to make my stuff work. Thomas said he was going to have a look at it, so I think I'll rely on him fixing it, before I break anything else ;-). I've already noticed that I will need | as an operator for the SQL bit types, so I may have to hack it a bit more. I just hate changing things blindly I don't really understand. Thanks for pointing it out though! Adriaan