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 dd077efCopy full SHA for dd077ef
File tree
Expand file treeCollapse file tree
1 file changed
+8
-8
lines changedOpen diff view settings
Filter options
- contrib/postgres_fdw
Expand file treeCollapse file tree
1 file changed
+8
-8
lines changedOpen diff view settings
Collapse file
contrib/postgres_fdw/postgres_fdw.c
Copy file name to clipboardExpand all lines: contrib/postgres_fdw/postgres_fdw.c+8-8Lines changed: 8 additions & 8 deletions
| 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