Commit 10ed487
committed
[PGPRO-4074] Multimaster and temp tables.
1) Allow on request to prepare xacts who manipulated temp tables.
We don't have any special handling of related problems, but they don't seem to
be too troubling.
2) Disarm autovacuum from dropping mtm temp tables on receiver side.
3) Remove assert that temp nsp is not set during SetTempNamespaceState (also
for pooler).
4) Export on_commits.
Cherry pick of
commit 48de7232ea2eb580c4c349c23245df86d0c08a08
Author: Stas Kelvich <stanconn@gmail.com>
Date: Tue Jan 21 19:37:23 2020 +0300
[MM-SUPPORT] rework temp relations handling
commit 25ba3642e66b8e814d500ab5c28854644ffbcdd0
Author: Alexey Kondratov <kondratov.aleksey@gmail.com>
Date: Fri May 22 19:31:16 2020 +0300
[MM-SUPPORT] Compatibility with d7684c38a5e: save temp tables in MM from
autovacuum
commit d09da98271d0df71968fa0d8cacf574ad360a54a
Author: Stas Kelvich <stanconn@gmail.com>
Date: Tue Mar 3 13:05:41 2020 +0300
do not try to estimate relation size for mm temp table at receiver side
(cherry picked from commit d09da98271d0df71968fa0d8cacf574ad360a54a)
tags: multimaster, connpool
(cherry picked from commit 3586623c83aa50629a12131a999fc0eb7764ef04)1 parent a375951 commit 10ed487
File tree
5 files changed
+56
-4
lines changed- src
- backend
- access/transam
- catalog
- optimizer/util
- include
- access
- catalog
5 files changed
+56
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
121 | 124 | | |
122 | 125 | | |
123 | 126 | | |
| |||
2390 | 2393 | | |
2391 | 2394 | | |
2392 | 2395 | | |
2393 | | - | |
| 2396 | + | |
| 2397 | + | |
| 2398 | + | |
| 2399 | + | |
| 2400 | + | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
2394 | 2404 | | |
2395 | 2405 | | |
2396 | 2406 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3224 | 3224 | | |
3225 | 3225 | | |
3226 | 3226 | | |
| 3227 | + | |
| 3228 | + | |
| 3229 | + | |
| 3230 | + | |
| 3231 | + | |
| 3232 | + | |
| 3233 | + | |
| 3234 | + | |
| 3235 | + | |
| 3236 | + | |
| 3237 | + | |
| 3238 | + | |
| 3239 | + | |
| 3240 | + | |
| 3241 | + | |
| 3242 | + | |
| 3243 | + | |
| 3244 | + | |
| 3245 | + | |
| 3246 | + | |
| 3247 | + | |
3227 | 3248 | | |
3228 | 3249 | | |
3229 | 3250 | | |
| |||
3241 | 3262 | | |
3242 | 3263 | | |
3243 | 3264 | | |
| 3265 | + | |
| 3266 | + | |
| 3267 | + | |
3244 | 3268 | | |
3245 | 3269 | | |
3246 | 3270 | | |
| |||
3328 | 3352 | | |
3329 | 3353 | | |
3330 | 3354 | | |
3331 | | - | |
3332 | | - | |
3333 | | - | |
| 3355 | + | |
| 3356 | + | |
| 3357 | + | |
| 3358 | + | |
| 3359 | + | |
| 3360 | + | |
| 3361 | + | |
3334 | 3362 | | |
3335 | 3363 | | |
3336 | 3364 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
212 | 213 | | |
213 | 214 | | |
214 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
215 | 226 | | |
216 | 227 | | |
217 | 228 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
| 189 | + | |
188 | 190 | | |
0 commit comments