diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-04-15 17:45:41 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-04-15 17:46:50 -0400 |
commit | 72826fb362c4aada6d2431df0b706df448806c02 (patch) | |
tree | 59805e2d8e32a9ef1f7a0091e08fed960fa2008c /src/backend/commands/cluster.c | |
parent | d5a7bf8c11c8b66c822bbb1a6c90e1a14425bd6e (diff) | |
download | postgresql-72826fb362c4aada6d2431df0b706df448806c02.tar.gz postgresql-72826fb362c4aada6d2431df0b706df448806c02.zip |
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.
Diffstat (limited to 'src/backend/commands/cluster.c')
0 files changed, 0 insertions, 0 deletions