pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Remove bogus Assert in make_partitionedrel_pruneinfo(). 2+ messages / 1 participants [nested] [flat]
* pgsql: Remove bogus Assert in make_partitionedrel_pruneinfo(). @ 2018-08-09 00:02 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2018-08-09 00:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Remove bogus Assert in make_partitionedrel_pruneinfo(). This Assert thought that a given rel couldn't be both leaf and non-leaf, but it turns out that in some unusual plan trees that's wrong, so remove it. The lack of testing for cases like that is quite concerning --- there is little reason for confidence that there aren't other bugs in the area. But developing a stable test case seems rather difficult, and in any case we don't need this Assert. David Rowley Discussion: https://postgr.es/m/CAJGNTeOkdk=UVuMugmKL7M=owgt4nNr1wjxMg1F+mHsXyLCzFA@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/59ef49d26d2f8724d0788fea0774f786a22ca63d Modified Files -------------- src/backend/partitioning/partprune.c | 2 -- 1 file changed, 2 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Remove bogus Assert in make_partitionedrel_pruneinfo(). @ 2018-08-09 00:02 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2018-08-09 00:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Remove bogus Assert in make_partitionedrel_pruneinfo(). This Assert thought that a given rel couldn't be both leaf and non-leaf, but it turns out that in some unusual plan trees that's wrong, so remove it. The lack of testing for cases like that is quite concerning --- there is little reason for confidence that there aren't other bugs in the area. But developing a stable test case seems rather difficult, and in any case we don't need this Assert. David Rowley Discussion: https://postgr.es/m/CAJGNTeOkdk=UVuMugmKL7M=owgt4nNr1wjxMg1F+mHsXyLCzFA@mail.gmail.com Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/69d0e7e6b81db733971508da0e512115930edf1e Modified Files -------------- src/backend/partitioning/partprune.c | 2 -- 1 file changed, 2 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-08-09 00:02 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2018-08-09 00:02 pgsql: Remove bogus Assert in make_partitionedrel_pruneinfo(). Tom Lane <tgl@sss.pgh.pa.us> 2018-08-09 00:02 pgsql: Remove bogus Assert in make_partitionedrel_pruneinfo(). Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox