forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf566515
committed
Add record_image_ops opclass for matview concurrent refresh.
REFRESH MATERIALIZED VIEW CONCURRENTLY was broken for any matviewcontaining a column of a type without a default btree operatorclass. It also did not produce results consistent with a non-concurrent REFRESH or a normal view if any column was of a typewhich allowed user-visible differences between values whichcompared as equal according to the type's default btree opclass.Concurrent matview refresh was modified to use the new operatorsto solve these problems.Documentation was added for record comparison, both for thedefault btree operator class for record, and the newly addedoperators. Regression tests now check for proper behavior bothfor a matview with a box column and a matview containing a citextcolumn.Reviewed by Steve Singer, who suggested some of the doc language.1 parent1cccce5 commitf566515
File tree
17 files changed
+775
-37
lines changed- contrib/citext
- expected
- sql
- doc/src/sgml
- src
- backend
- commands
- utils/adt
- include
- catalog
- utils
- test/regress
- expected
- sql
17 files changed
+775
-37
lines changedLines changed: 41 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2276 | 2276 |
| |
2277 | 2277 |
| |
2278 | 2278 |
| |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
| 2299 | + | |
| 2300 | + | |
| 2301 | + | |
| 2302 | + | |
| 2303 | + | |
| 2304 | + | |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
| 2318 | + | |
| 2319 | + |
Lines changed: 41 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2276 | 2276 |
| |
2277 | 2277 |
| |
2278 | 2278 |
| |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
| 2296 | + | |
| 2297 | + | |
| 2298 | + | |
| 2299 | + | |
| 2300 | + | |
| 2301 | + | |
| 2302 | + | |
| 2303 | + | |
| 2304 | + | |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
| 2308 | + | |
| 2309 | + | |
| 2310 | + | |
| 2311 | + | |
| 2312 | + | |
| 2313 | + | |
| 2314 | + | |
| 2315 | + | |
| 2316 | + | |
| 2317 | + | |
| 2318 | + | |
| 2319 | + |
Lines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
711 | 711 |
| |
712 | 712 |
| |
713 | 713 |
| |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + |
Lines changed: 85 additions & 26 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12739 | 12739 |
| |
12740 | 12740 |
| |
12741 | 12741 |
| |
12742 |
| - | |
| 12742 | + | |
12743 | 12743 |
| |
12744 | 12744 |
| |
12745 | 12745 |
| |
| |||
12795 | 12795 |
| |
12796 | 12796 |
| |
12797 | 12797 |
| |
12798 |
| - | |
| 12798 | + | |
12799 | 12799 |
| |
12800 | 12800 |
| |
12801 | 12801 |
| |
12802 | 12802 |
| |
12803 |
| - | |
| 12803 | + | |
12804 | 12804 |
| |
12805 | 12805 |
| |
12806 | 12806 |
| |
| |||
12823 | 12823 |
| |
12824 | 12824 |
| |
12825 | 12825 |
| |
12826 |
| - | |
| 12826 | + | |
12827 | 12827 |
| |
12828 | 12828 |
| |
12829 | 12829 |
| |
| |||
12852 | 12852 |
| |
12853 | 12853 |
| |
12854 | 12854 |
| |
| 12855 | + | |
| 12856 | + | |
| 12857 | + | |
| 12858 | + | |
| 12859 | + | |
12855 | 12860 |
| |
12856 | 12861 |
| |
12857 | 12862 |
| |
12858 | 12863 |
| |
12859 | 12864 |
| |
12860 | 12865 |
| |
12861 |
| - | |
| 12866 | + | |
| 12867 | + | |
| 12868 | + | |
| 12869 | + | |
| 12870 | + | |
| 12871 | + | |
12862 | 12872 |
| |
12863 | 12873 |
| |
12864 | 12874 |
| |
| |||
13023 | 13033 |
| |
13024 | 13034 |
| |
13025 | 13035 |
| |
13026 |
| - | |
| 13036 | + | |
13027 | 13037 |
| |
13028 | 13038 |
| |
13029 | 13039 |
| |
| |||
13033 | 13043 |
| |
13034 | 13044 |
| |
13035 | 13045 |
| |
13036 |
| - | |
13037 |
| - | |
| 13046 | + | |
| 13047 | + | |
13038 | 13048 |
| |
13039 | 13049 |
| |
13040 | 13050 |
| |
13041 | 13051 |
| |
13042 | 13052 |
| |
13043 |
| - | |
13044 |
| - | |
13045 |
| - | |
13046 |
| - | |
13047 |
| - | |
| 13053 | + | |
| 13054 | + | |
| 13055 | + | |
13048 | 13056 |
| |
13049 | 13057 |
| |
| 13058 | + | |
| 13059 | + | |
| 13060 | + | |
| 13061 | + | |
| 13062 | + | |
| 13063 | + | |
| 13064 | + | |
13050 | 13065 |
| |
13051 | 13066 |
| |
13052 | 13067 |
| |
| |||
13104 | 13119 |
| |
13105 | 13120 |
| |
13106 | 13121 |
| |
13107 |
| - | |
13108 |
| - | |
13109 |
| - | |
13110 |
| - | |
13111 |
| - | |
13112 |
| - | |
13113 |
| - | |
13114 |
| - | |
13115 |
| - | |
13116 |
| - | |
13117 |
| - | |
13118 |
| - | |
13119 |
| - | |
| 13122 | + | |
13120 | 13123 |
| |
| 13124 | + | |
| 13125 | + | |
| 13126 | + | |
| 13127 | + | |
| 13128 | + | |
| 13129 | + | |
| 13130 | + | |
| 13131 | + | |
| 13132 | + | |
| 13133 | + | |
| 13134 | + | |
| 13135 | + | |
| 13136 | + | |
| 13137 | + | |
| 13138 | + | |
| 13139 | + | |
| 13140 | + | |
| 13141 | + | |
| 13142 | + | |
| 13143 | + | |
| 13144 | + | |
| 13145 | + | |
| 13146 | + | |
| 13147 | + | |
| 13148 | + | |
| 13149 | + | |
| 13150 | + | |
| 13151 | + | |
| 13152 | + | |
| 13153 | + | |
| 13154 | + | |
| 13155 | + | |
| 13156 | + | |
| 13157 | + | |
| 13158 | + | |
| 13159 | + | |
| 13160 | + | |
| 13161 | + | |
| 13162 | + | |
| 13163 | + | |
| 13164 | + | |
| 13165 | + | |
| 13166 | + | |
| 13167 | + | |
| 13168 | + | |
| 13169 | + | |
| 13170 | + | |
| 13171 | + | |
| 13172 | + | |
| 13173 | + | |
| 13174 | + | |
| 13175 | + | |
| 13176 | + | |
| 13177 | + | |
| 13178 | + | |
| 13179 | + | |
13121 | 13180 |
| |
13122 | 13181 |
| |
13123 | 13182 |
| |
|
Lines changed: 4 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
562 | 562 |
| |
563 | 563 |
| |
564 | 564 |
| |
565 |
| - | |
| 565 | + | |
566 | 566 |
| |
567 | 567 |
| |
568 | 568 |
| |
| |||
645 | 645 |
| |
646 | 646 |
| |
647 | 647 |
| |
648 |
| - | |
649 |
| - | |
650 |
| - | |
651 | 648 |
| |
652 | 649 |
| |
653 | 650 |
| |
| |||
682 | 679 |
| |
683 | 680 |
| |
684 | 681 |
| |
685 |
| - | |
686 |
| - | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
687 | 685 |
| |
688 | 686 |
| |
689 | 687 |
| |
|
0 commit comments
Comments
(0)