| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Guard against incoming rowcount estimate of NaN in cost_mergejoi |
| Date: | 2011-04-15 21:46:58 |
| Message-ID: | E1QAqqw-0000Ra-4m@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Guard against incoming rowcount estimate of NaN in cost_mergejoin().
Although rowcount estimates really ought not be NaN, a bug elsewhere
could perhaps result in that, and that would cause Assert failure in
cost_mergejoin, which I believe to be the explanation for bug #5977 from
Anton Kuznetsov. Seems like a good idea to expend a couple more cycles
to prevent that, even though the real bug is elsewhere. Not back-patching,
though, because we don't encourage running production systems with
Asserts on.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/72826fb362c4aada6d2431df0b706df448806c02
Modified Files
--------------
src/backend/optimizer/path/costsize.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | pgsql | 2011-04-15 22:09:10 | pgsql: Tag refs/tags/REL8_2_21 was created |
| Previous Message | Peter Eisentraut | 2011-04-15 20:36:00 | Re: [COMMITTERS] pgsql: Rename pg_regress option --multibyte to --encoding |