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 3515.1584624816@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #16302: too many range table entries - when count partitiontable(65538 childs)  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: BUG #16302: too many range table entries - when count partitiontable(65538 childs)
List pgsql-bugs
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> You could make INNER_VAR -1 and so on.  Then it would probably break 
> quite clearly if it's not signedness clean.

I kinda like this, because it'd avoid having random large constants
in the code.

We'd have to change Var.varno and some other places from Index to
plain int, or else invent a typedef --- but the number of places
currently using plain int for this sort of purpose is very large,
so probably a new typedef is not worth the hassle.

            regards, tom lane



pgsql-bugs by date:

Previous
From: "Demarest, Jamie"
Date:
Subject: RE: Postgresql create a core while trying log a message to syslog
Next
From: "Raschkowski, Michael"
Date:
Subject: Trigger does not work after partitioning