Commit dd077ef
committed
postgres_fdw: Avoid sharing list substructure.
list_concat(list_concat(a, b), c) destructively changes both a and b;
to avoid such perils, copy lists of remote_conds before incorporating
them into larger lists via list_concat().
Ashutosh Bapat, per a report from Etsuro Fujita1 parent 902fd1f commit dd077ef
1 file changed
+8
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3488 | 3488 | | |
3489 | 3489 | | |
3490 | 3490 | | |
3491 | | - | |
| 3491 | + | |
3492 | 3492 | | |
3493 | | - | |
| 3493 | + | |
3494 | 3494 | | |
3495 | 3495 | | |
3496 | 3496 | | |
3497 | 3497 | | |
3498 | | - | |
| 3498 | + | |
3499 | 3499 | | |
3500 | | - | |
| 3500 | + | |
3501 | 3501 | | |
3502 | 3502 | | |
3503 | 3503 | | |
3504 | 3504 | | |
3505 | | - | |
| 3505 | + | |
3506 | 3506 | | |
3507 | | - | |
| 3507 | + | |
3508 | 3508 | | |
3509 | 3509 | | |
3510 | 3510 | | |
3511 | 3511 | | |
3512 | | - | |
| 3512 | + | |
3513 | 3513 | | |
3514 | | - | |
| 3514 | + | |
3515 | 3515 | | |
3516 | 3516 | | |
3517 | 3517 | | |
| |||
0 commit comments