Re: [sqlsmith] Planner crash on foreign table join
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andrew Gierth <andrew@tao11.riddles.org.uk>,
Andreas Seltenreich <seltenreich@gmx.de>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>,
Simon Riggs <simon@2ndquadrant.com>
Date: 2017-04-09T00:13:56Z
Lists: pgsql-hackers
Attachments
- use-isa-checks-for-bitmapsets.patch (text/x-diff) patch
I wrote: > Robert Haas <robertmhaas@gmail.com> writes: >> On Sat, Apr 8, 2017 at 3:57 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> I think it's pretty dubious to change this, honestly. Just because it >> would have caught this one bug doesn't make it an especially valuable >> thing in general. Bytes are still not free. > What I think I might do is write a trial patch that turns Bitmapsets > into Nodes, and see if it catches any other existing bugs. If it does > not, that would be good evidence for your position. I made the attached quick-hack patch, and found that check-world passes just fine with it. That's not complete proof that we have no other bugs of this ilk, but it definitely supports the idea that we don't really need to add the overhead. I'll just put this in the archives for possible future reference. (Or perhaps Andreas would like to try bashing on a copy with this installed.) regards, tom lane
Commits
-
Improve castNode notation by introducing list-extraction-specific variants.
- 8f0530f58061 10.0 landed
- ff9398052df5 9.3.17 landed
- be182d570210 9.6.3 landed
- bcb1a27dc039 9.5.7 landed
- ba0a0f3ed9e0 9.2.21 landed
- 89a41a1b6b71 9.4.12 landed
-
Clean up bugs in clause_selectivity() cleanup.
- eef8c0069e4d 10.0 landed
-
Add newly-symlinked files to "make clean" target.
- aba696d1af9a 10.0 cited
-
Reset API of clause_selectivity()
- ac2b09508834 10.0 cited