Re: Assertion failure with LEFT JOINs among >500 relations
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Rowley <dgrowleyml@gmail.com>
Cc: Onder Kalaci <onderk@microsoft.com>,
"pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2020-10-19T00:06:55Z
Lists: pgsql-hackers
David Rowley <dgrowleyml@gmail.com> writes: > It would be good to hear Onder's case to see if he has a good argument > for having a vested interest in pg13 not failing this way with assets > enabled. Yeah, some context for this report would be a good thing. (BTW, am I wrong to suppose that the same case fails the same way in our older branches? Certainly that Assert has been there a long time.) > I guess we could resolve that concern by just changing the failing > assert to become: Assert(outer_skip_rows <= outer_rows || > isinf(outer_rows)); I can't really object to just weakening the Assert a tad. My thoughts would have run towards checking for the NaN though. regards, tom lane
Commits
-
Relax some asserts in merge join costing code
- 33a332bc1cff 13.1 landed
- 77ca44b76477 12.5 landed
- 2681bb230a68 11.10 landed
- 600c2412f850 10.15 landed
- 00fecc24c140 9.6.20 landed
- 3798b4fe73b9 9.5.24 landed
-
Prevent overly large and NaN row estimates in relations
- a90c950fc7fd 14.0 landed
-
Avoid a couple of zero-divide scenarios in the planner.
- 76281aa9647e 9.6.0 cited
-
Guard against incoming rowcount estimate of NaN in cost_mergejoin().
- 72826fb362c4 9.1.0 cited
-
When a relation has been proven empty by constraint exclusion, propagate that
- fd791e7b5a1b 8.4.0 cited