- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit401a695
committed
Disallow COPY FREEZE on foreign tables.
This didn't actually work: the COPY succeeds, but the FREEZEoptimization isn't applied. There doesn't seem to be an easy wayto support FREEZE on foreign tables, so let's follow the precedentestablished by commit5c9a551 by raising an error early. Thisis arguably a bug fix, but due to the lack of reports, the minimaldiscussion on the mailing list, and the potential to break existingscripts, I am not back-patching it for now.Author: Sami Imseih <samimseih@gmail.com>Reviewed-by: Zhang Mingli <zmlpostgres@gmail.com>Discussion:https://postgr.es/m/CAA5RZ0ujeNgKpE3OrLtR%3DeJGa5LkGMekFzQTwjgw%3DrzaLufQLQ%40mail.gmail.com1 parenta99a32e commit401a695
File tree
4 files changed
+25
-1
lines changed- doc/src/sgml/ref
- src
- backend/commands
- test/regress
- expected
- sql
4 files changed
+25
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
237 | 237 |
| |
238 | 238 |
| |
239 | 239 |
| |
240 |
| - | |
| 240 | + | |
241 | 241 |
| |
242 | 242 |
| |
243 | 243 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
740 | 740 |
| |
741 | 741 |
| |
742 | 742 |
| |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
743 | 749 |
| |
744 | 750 |
| |
745 | 751 |
| |
|
Lines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
325 | 325 |
| |
326 | 326 |
| |
327 | 327 |
| |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + |
Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
348 | 348 |
| |
349 | 349 |
| |
350 | 350 |
| |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + |
0 commit comments
Comments
(0)