From: | Andreas Seltenreich <andreas+pg(at)gate450(dot)dyndns(dot)org> |
---|---|
To: | "WIESECKE Bernd" <BWiesecke(dot)gre(at)gauff(dot)com> |
Cc: | <pgsql-de-allgemein(at)postgresql(dot)org> |
Subject: | Re: Aggregat für Boolean |
Date: | 2005-10-24 18:38:12 |
Message-ID: | 87y84ibw17.fsf@gate450.dyndns.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-de-allgemein |
WIESECKE Bernd schrob:
> Gibt es eigentlich eine vordefinierte Aggregatfunktion für Booleans?
Ja, die sind mit 8.0 dazugekommen:
--8<---------------cut here---------------start------------->8---
scratch=# \da *bool*
Liste der Aggregatfunktionen
Schema | Name | Datentyp | Beschreibung
------------+----------+----------+-----------------------
pg_catalog | bool_and | boolean | boolean-and aggregate
pg_catalog | bool_or | boolean | boolean-or aggregate
(2 Zeilen)
--8<---------------cut here---------------end--------------->8---
Gruß
Andreas
--
From | Date | Subject | |
---|---|---|---|
Next Message | Guido Neitzer | 2005-10-30 12:42:05 | Sortierung und Mac OS X |
Previous Message | WIESECKE Bernd | 2005-10-24 18:12:42 | Aggregat für Boolean |