RE: Internal error XX000 with enable_partition_pruning=on, pg 11beta1 on Debian
| От | Phil Florent |
|---|---|
| Тема | RE: Internal error XX000 with enable_partition_pruning=on, pg 11beta1 on Debian |
| Дата | |
| Msg-id | DB7PR03MB4730826F8ACCF1F643EED319BA5D0@DB7PR03MB4730.eurprd03.prod.outlook.com обсуждение исходный текст |
| Ответ на | Re: Internal error XX000 with enable_partition_pruning=on, pg 11beta1 on Debian (David Rowley <david.rowley@2ndquadrant.com>) |
| Список | pgsql-hackers |
I get it. Thank you for this precision.
Regards
Phil
De : David Rowley <david.rowley@2ndquadrant.com>
Envoyé : lundi 16 juillet 2018 07:48
À : Phil Florent
Cc : Tom Lane; Robert Haas; Amit Langote; PostgreSQL Hackers
Objet : Re: Internal error XX000 with enable_partition_pruning=on, pg 11 beta1 on Debian
Envoyé : lundi 16 juillet 2018 07:48
À : Phil Florent
Cc : Tom Lane; Robert Haas; Amit Langote; PostgreSQL Hackers
Objet : Re: Internal error XX000 with enable_partition_pruning=on, pg 11 beta1 on Debian
On 16 July 2018 at 16:56, Phil Florent <philflorent@hotmail.com> wrote:
I should post that in the general section but I am confused by the sentence "A parent partition is always going to have a lower relid than its children"
It's a little confusing since RelOptInfo has a relid field and so does RangeTblEntry. They both have completely different meanings. RelOptInfo's relid is a number starting at 1 and continues in a gapless sequence increasing by 1 with each RelOptInfo. These relids are completely internal to the server and don't appear in the system catalog tables. RangeTblEntry's relid is what's in pg_class.oid.
I was talking about RelOptInfo's relid.
В списке pgsql-hackers по дате отправления: