forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7acd35b
Specially handle toast relations during REINDEX.
Is this fine ? It says "cannot reindex system catalogs concurrently" (once),and hits the pg_toast tables for information_schema. Should it skip toastindexes (like it said) ? Or should it REINDEX them on the same tablespace?template1=# REINDEX DATABASE CONCURRENTLY template1 TABLESPACE pg_default;2020-03-09 15:33:51.792 CDT [6464] WARNING: cannot reindex system catalogs concurrently, skipping allWARNING: cannot reindex system catalogs concurrently, skipping all2020-03-09 15:33:51.794 CDT [6464] WARNING: skipping tablespace change of "pg_toast_12558_index"2020-03-09 15:33:51.794 CDT [6464] DETAIL: Cannot move system relation, only REINDEX CONCURRENTLY is performed.WARNING: skipping tablespace change of "pg_toast_12558_index"DETAIL: Cannot move system relation, only REINDEX CONCURRENTLY is performed.2020-03-09 15:33:51.924 CDT [6464] WARNING: skipping tablespace change of "pg_toast_12543_index"2020-03-09 15:33:51.924 CDT [6464] DETAIL: Cannot move system relation, only REINDEX CONCURRENTLY is performed.WARNING: skipping tablespace change of "pg_toast_12543_index"DETAIL: Cannot move system relation, only REINDEX CONCURRENTLY is performed.2020-03-09 15:33:51.982 CDT [6464] WARNING: skipping tablespace change of "pg_toast_12548_index"2020-03-09 15:33:51.982 CDT [6464] DETAIL: Cannot move system relation, only REINDEX CONCURRENTLY is performed.WARNING: skipping tablespace change of "pg_toast_12548_index"DETAIL: Cannot move system relation, only REINDEX CONCURRENTLY is performed.2020-03-09 15:33:52.048 CDT [6464] WARNING: skipping tablespace change of "pg_toast_12553_index"2020-03-09 15:33:52.048 CDT [6464] DETAIL: Cannot move system relation, only REINDEX CONCURRENTLY is performed.WARNING: skipping tablespace change of "pg_toast_12553_index"DETAIL: Cannot move system relation, only REINDEX CONCURRENTLY is performed.REINDEX1 parent507a6ed commit7acd35b
2 files changed
+28
-12
lines changedLines changed: 16 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3474 | 3474 |
| |
3475 | 3475 |
| |
3476 | 3476 |
| |
3477 |
| - | |
3478 |
| - | |
| 3477 | + | |
| 3478 | + | |
3479 | 3479 |
| |
3480 |
| - | |
3481 |
| - | |
| 3480 | + | |
| 3481 | + | |
| 3482 | + | |
| 3483 | + | |
| 3484 | + | |
| 3485 | + | |
| 3486 | + | |
| 3487 | + | |
| 3488 | + | |
| 3489 | + | |
| 3490 | + | |
| 3491 | + | |
| 3492 | + | |
| 3493 | + | |
3482 | 3494 |
| |
3483 | 3495 |
| |
3484 | 3496 |
| |
|
Lines changed: 12 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3061 | 3061 |
| |
3062 | 3062 |
| |
3063 | 3063 |
| |
3064 |
| - | |
| 3064 | + | |
| 3065 | + | |
| 3066 | + | |
3065 | 3067 |
| |
3066 |
| - | |
3067 |
| - | |
3068 |
| - | |
3069 |
| - | |
3070 |
| - | |
3071 |
| - | |
| 3068 | + | |
| 3069 | + | |
| 3070 | + | |
| 3071 | + | |
| 3072 | + | |
| 3073 | + | |
| 3074 | + | |
3072 | 3075 |
| |
3073 | 3076 |
| |
3074 | 3077 |
| |
| |||
3099 | 3102 |
| |
3100 | 3103 |
| |
3101 | 3104 |
| |
3102 |
| - | |
| 3105 | + | |
| 3106 | + | |
3103 | 3107 |
| |
3104 | 3108 |
| |
3105 | 3109 |
| |
|
0 commit comments
Comments
(0)