- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit2099b91
committed
postgres_fdw: Avoid possible misbehavior when RETURNING tableoid column only.
deparseReturningList ended up adding up RETURNING NULL to the code, butcode elsewhere saw an empty list of attributes and concluded that itshould not expect tuples from the remote side.Etsuro Fujita and Robert Haas, reviewed by Thom Brown1 parent1f3294c commit2099b91
File tree
3 files changed
+73
-7
lines changed- contrib/postgres_fdw
- expected
- sql
3 files changed
+73
-7
lines changedLines changed: 11 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
110 | 110 |
| |
111 | 111 |
| |
112 | 112 |
| |
| 113 | + | |
113 | 114 |
| |
114 | 115 |
| |
115 | 116 |
| |
| |||
721 | 722 |
| |
722 | 723 |
| |
723 | 724 |
| |
724 |
| - | |
| 725 | + | |
725 | 726 |
| |
726 | 727 |
| |
727 | 728 |
| |
| |||
735 | 736 |
| |
736 | 737 |
| |
737 | 738 |
| |
738 |
| - | |
| 739 | + | |
| 740 | + | |
739 | 741 |
| |
740 | 742 |
| |
741 | 743 |
| |
| |||
745 | 747 |
| |
746 | 748 |
| |
747 | 749 |
| |
| 750 | + | |
748 | 751 |
| |
749 | 752 |
| |
750 | 753 |
| |
| |||
774 | 777 |
| |
775 | 778 |
| |
776 | 779 |
| |
| 780 | + | |
| 781 | + | |
777 | 782 |
| |
778 | 783 |
| |
779 | 784 |
| |
| |||
791 | 796 |
| |
792 | 797 |
| |
793 | 798 |
| |
| 799 | + | |
| 800 | + | |
794 | 801 |
| |
795 | 802 |
| |
796 | 803 |
| |
| |||
800 | 807 |
| |
801 | 808 |
| |
802 | 809 |
| |
803 |
| - | |
| 810 | + | |
804 | 811 |
| |
805 | 812 |
| |
806 | 813 |
| |
| |||
1016 | 1023 |
| |
1017 | 1024 |
| |
1018 | 1025 |
| |
1019 |
| - | |
1020 |
| - | |
1021 |
| - | |
| 1026 | + | |
1022 | 1027 |
| |
1023 |
| - | |
1024 | 1028 |
| |
1025 | 1029 |
| |
1026 | 1030 |
| |
|
Lines changed: 53 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2226 | 2226 |
| |
2227 | 2227 |
| |
2228 | 2228 |
| |
| 2229 | + | |
| 2230 | + | |
| 2231 | + | |
| 2232 | + | |
| 2233 | + | |
| 2234 | + | |
| 2235 | + | |
| 2236 | + | |
| 2237 | + | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
| 2247 | + | |
| 2248 | + | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
2229 | 2282 |
| |
2230 | 2283 |
| |
2231 | 2284 |
| |
|
Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
352 | 352 |
| |
353 | 353 |
| |
354 | 354 |
| |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
355 | 364 |
| |
356 | 365 |
| |
357 | 366 |
| |
|
0 commit comments
Comments
(0)