Skip site navigation (1) Skip section navigation (2)

Re: bitwise and/or aggregate functions?

From: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>,PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>,Neil Conway <neilc(at)samurai(dot)com>
Subject: Re: bitwise and/or aggregate functions?
Date: 2004-04-28 09:58:16
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
> > I thought of BIT_* because it is short and also used by mysql.
> > Ingres has BIT_AND and BIT_OR functions, but they are not aggregates.
> >
> > I don't know where these standards are available online... It seems they
> > are not available:-(
> Neil - can you check your SQL2003 copy to see if it mentions standard
> aggregates on bit types?

I haven't seen such a function in the "draft" standard I have found.
It seems it is not yet available from INCITS.

There are also EVERY (= aggregate AND) and SOME/ANY (= aggregate OR) for
booleans, that are interesting. I'll add them with the patch. However I
think that I may need to add two small functions for that.

Fabien Coelho - coelho(at)cri(dot)ensmp(dot)fr

In response to


pgsql-hackers by date

Next:From: 帅猛Date: 2004-04-28 10:16:39
Subject: tcl error
Previous:From: Manfred KoizarDate: 2004-04-28 09:16:52
Subject: Re: btbulkdelete

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group