Re: How to force Postgres to calculate MAX(boolean)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrus" <noeetasoftspam(at)online(dot)ee>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to force Postgres to calculate MAX(boolean)
Date: 2005-07-07 15:22:33
Message-ID: 8445.1120749753@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Andrus" <noeetasoftspam(at)online(dot)ee> writes:
> MAX(boolean) should return true if its argument evaluates true for at least
> one row.

We call it bool_or() ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephane Bortzmeyer 2005-07-07 15:26:06 Re: Implement updated column in all tables
Previous Message Joe Markwardt 2005-07-07 15:14:18 Re: ERROR: cache lookup failed for relation 438095645