Commit c6873ea
committed
Fix overly-enthusiastic Assert in printing of Param reference expressions.
A NestLoopParam's value can only be a Var or Aggref, but this isn't the
case in general for SubPlan parameters, so print_parameter_expr had better
be prepared to cope. Brain fade in my recent patch to print the referenced
expression instead of just printing $N for PARAM_EXEC Params. Per report
from Pavel Stehule.1 parent ef55e29 commit c6873ea
1 file changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4368 | 4368 | | |
4369 | 4369 | | |
4370 | 4370 | | |
| 4371 | + | |
4371 | 4372 | | |
4372 | 4373 | | |
4373 | 4374 | | |
| |||
4380 | 4381 | | |
4381 | 4382 | | |
4382 | 4383 | | |
4383 | | - | |
4384 | | - | |
| 4384 | + | |
| 4385 | + | |
| 4386 | + | |
4385 | 4387 | | |
4386 | | - | |
| 4388 | + | |
| 4389 | + | |
| 4390 | + | |
| 4391 | + | |
| 4392 | + | |
4387 | 4393 | | |
4388 | 4394 | | |
4389 | 4395 | | |
| 4396 | + | |
| 4397 | + | |
| 4398 | + | |
4390 | 4399 | | |
4391 | 4400 | | |
4392 | 4401 | | |
| |||
0 commit comments