diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-04-09 11:58:24 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-04-09 11:58:40 -0400 |
commit | 0e20abdb47e3499353ac4fd1b2d21e82ec6b1461 (patch) | |
tree | 64c0b3e3cb3f071ac0481c28f37a213df41071b7 /src/backend/access/gist/gist.c | |
parent | 88e071533fba70747aaf8d9b32fb927b7157ad16 (diff) | |
download | postgresql-0e20abdb47e3499353ac4fd1b2d21e82ec6b1461.tar.gz postgresql-0e20abdb47e3499353ac4fd1b2d21e82ec6b1461.zip |
Fix an Assert that turns out to be reachable after all.
estimate_num_groups() gets unhappy with
create table empty();
select * from empty except select * from empty e2;
I can't see any actual use-case for such a query (and the table is illegal
per SQL spec), but it seems like a good idea that it not cause an assert
failure.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions