Re: [BUGS] Re: Re: [SQL] MAX() of 0 records. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [BUGS] Re: Re: [SQL] MAX() of 0 records.
Date
Msg-id 11091.962993554@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] Re: Re: [SQL] MAX() of 0 records.  ("Robert B. Easter" <reaster@comptechnews.com>)
List pgsql-hackers
"Robert B. Easter" <reaster@comptechnews.com> writes:
> If you use min(x) or max(x) frequently, isn't it best to make a
> trigger that intercepts x on insert and update, then check it and
> store it somewhere rather than scanning for it everytime?

I believe that's exactly what the original questioner is trying to do...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Lamar Owen
Date:
Subject: Tim Perdue's article on PHPbuilder
Next
From: Samy Elashmawy
Date:
Subject: Re: [GENERAL] PostgreSQL & the BSD License