Re: BUG #16302: too many range table entries - when count partition table(65538 childs) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #16302: too many range table entries - when count partition table(65538 childs)
Date
Msg-id 32763.1584198185@sss.pgh.pa.us
Whole thread Raw
In response to BUG #16302: too many range table entries - when count partition table(65538 childs)  (PG Bug reporting form <noreply@postgresql.org>)
Responses Re: BUG #16302: too many range table entries - when count partitiontable(65538 childs)
List pgsql-bugs
PG Bug reporting form <noreply@postgresql.org> writes:
>   when i count a partition table with many childs , it's error below:

> postgres=> select count(*) from p;
> ERROR:  54000: too many range table entries
> LOCATION:  add_rte_to_flat_rtable, setrefs.c:425

This hardly seems like a bug.  We do not support an infinite number of
partitions --- and in the real world, performance would have tanked
long before you got to this many partitions.

            regards, tom lane



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #16302: too many range table entries - when count partition table(65538 childs)
Next
From: Daniel WM
Date:
Subject: Re: BUG #16293: postgres segfaults and returns SQLSTATE 08006