Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx
От
Tom Lane
Тема
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx
Дата
Msg-id
967241.1698241891@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx PG Bug reporting form <noreply@postgresql.org>
Re: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx "David G. Johnston" <david.g.johnston@gmail.com>
Re: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Tom Lane <tgl@sss.pgh.pa.us>
AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Hans Buschmann <buschmann@nidsa.net>
Re: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Tom Lane <tgl@sss.pgh.pa.us>
AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Hans Buschmann <buschmann@nidsa.net>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Tom Lane <tgl@sss.pgh.pa.us>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Tom Lane <tgl@sss.pgh.pa.us>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Amit Langote <amitlangote09@gmail.com>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Tom Lane <tgl@sss.pgh.pa.us>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Tom Lane <tgl@sss.pgh.pa.us>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Amit Langote <amitlangote09@gmail.com>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Tom Lane <tgl@sss.pgh.pa.us>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Amit Langote <amitlangote09@gmail.com>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Tom Lane <tgl@sss.pgh.pa.us>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Amit Langote <amitlangote09@gmail.com>
AW: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Hans Buschmann <buschmann@nidsa.net>
Re: AW: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Tom Lane <tgl@sss.pgh.pa.us>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Peter Geoghegan <pg@bowt.ie>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Tom Lane <tgl@sss.pgh.pa.us>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Peter Geoghegan <pg@bowt.ie>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Peter Geoghegan <pg@bowt.ie>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Tom Lane <tgl@sss.pgh.pa.us>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Peter Geoghegan <pg@bowt.ie>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Tom Lane <tgl@sss.pgh.pa.us>
Re: AW: AW: BUG #18147: ERROR: invalid perminfoindex 0 in RTE with relid xxxxx Peter Geoghegan <pg@bowt.ie>
Amit Langote writes: > On Wed, Oct 25, 2023 at 4:07 AM Tom Lane wrote: >> I suspect that now this should just unconditionally clear >> childrte->perminfoindex, but it's minor cleanup not a bug fix >> so I didn't pursue that in the initial patch. > Would you like me to apply something like the attached? Diff looks fine, but I'm not sure that it's appropriate to characterize the existing code as an oversight. It was a necessary hack while the executor was behaving as it did (ie, using the first child as root). >> * It seems like ModifyTable.nominalRelation and >> ModifyTable.rootRelation are pretty darn redundant. Maybe we >> should make an effort to get rid of one of them. Or maybe >> it's not worth the trouble. > We had a discussion on unifying the two before: > https://www.postgresql.org/message-id/12148.1538938507%40sss.pgh.pa.us Ah, so we did. The "serve different masters" argument did re-occur to me while I was looking at this yesterday, but I'm not sure how strong it is really. Anyway, I'm also content to leave it be. regards, tom lane
В списке pgsql-bugs по дате отправления
От: tender wang
Дата:
От: Tom Lane
Дата: