- Notifications
You must be signed in to change notification settings - Fork28
Commit919e48b
committed
tableam: Use in CREATE TABLE AS and CREATE MATERIALIZED VIEW.
Previously those directly performed a heap_insert(). Usetable_insert() instead. The input slot of those routines is not ofthe target relation - we could fix that by copying if necessary, butthat'd not be beneficial for performance. As those codepaths don'taccess any AM specific tuple fields (say xmin/xmax), there's no needto use an AM specific slot.Author: Andres FreundReviewed-By: Haribabu KommiDiscussion:https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de1 parent940311e commit919e48b
2 files changed
+23
-24
lines changedLines changed: 12 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
| 30 | + | |
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
| |||
572 | 573 |
| |
573 | 574 |
| |
574 | 575 |
| |
575 |
| - | |
576 | 576 |
| |
577 | 577 |
| |
578 |
| - | |
579 |
| - | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
580 | 584 |
| |
581 |
| - | |
582 | 585 |
| |
583 |
| - | |
584 |
| - | |
585 |
| - | |
586 |
| - | |
587 |
| - | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
588 | 591 |
| |
589 | 592 |
| |
590 | 593 |
| |
591 |
| - | |
592 |
| - | |
593 |
| - | |
594 | 594 |
| |
595 | 595 |
| |
596 | 596 |
| |
|
Lines changed: 11 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
477 | 477 |
| |
478 | 478 |
| |
479 | 479 |
| |
480 |
| - | |
481 | 480 |
| |
482 | 481 |
| |
483 |
| - | |
484 |
| - | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
485 | 488 |
| |
486 |
| - | |
487 | 489 |
| |
488 |
| - | |
489 |
| - | |
490 |
| - | |
491 |
| - | |
492 |
| - | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
493 | 495 |
| |
494 | 496 |
| |
495 | 497 |
| |
496 |
| - | |
497 |
| - | |
498 |
| - | |
499 | 498 |
| |
500 | 499 |
| |
501 | 500 |
| |
|
0 commit comments
Comments
(0)