From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Robert B(dot) Easter" <reaster(at)comptechnews(dot)com> |
Cc: | Chris Bitmead <chris(at)bitmead(dot)com>, pgsql-bugs(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Re: [HACKERS] Re: [SQL] MAX() of 0 records. |
Date: | 2000-07-07 18:12:34 |
Message-ID: | 11091.962993554@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers pgsql-sql |
"Robert B. Easter" <reaster(at)comptechnews(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Martin, Sylvain R. (LNG) | 2000-07-07 18:56:07 | bug in index? |
Previous Message | Tom Lane | 2000-07-07 17:59:01 | Re: Factorial operator gets parser error in psql. |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-07-07 18:23:45 | Re: crypt and MD5 - still not wanted |
Previous Message | Lamar Owen | 2000-07-07 17:53:40 | Tim Perdue's article on PHPbuilder |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-07-07 18:21:38 | Re: Search for underscore w/ LIKE |
Previous Message | sandis | 2000-07-07 18:07:41 | date comparision |