- Notifications
You must be signed in to change notification settings - Fork28
Commit75e3cca
committed
Don't add bailout adjustment for non-strict deserialize calls.
When building aggregate expression steps, strict checks need a bailoutjump for when a null value is encountered, so there is a list of stepsthat require later adjustment. Adding entries to that list for stepsthat aren't actually strict would be harmless, except that there is anAssert which catches them. This leads to spurious errors on assertsbuilds, for data sets that trigger parallel aggregation of anaggregate with a non-strict deserialization function (no suchaggregates exist in the core system).Repair by not adding the adjustment entry when it's not needed.Backpatch back to 11 where the code was introduced.Per a report from Darafei (Komzpa) of the PostGIS project; analysisand patch by me.Discussion:https://postgr.es/m/87mty7peb3.fsf@news-spur.riddles.org.uk1 parentbfda0a0 commit75e3cca
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3060 | 3060 |
| |
3061 | 3061 |
| |
3062 | 3062 |
| |
3063 |
| - | |
3064 |
| - | |
| 3063 | + | |
| 3064 | + | |
| 3065 | + | |
| 3066 | + | |
3065 | 3067 |
| |
3066 | 3068 |
| |
3067 | 3069 |
| |
|
0 commit comments
Comments
(0)