Re: pg_upgrade and materialized views
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Claudio Freire <klaussfreire@gmail.com>
Cc: pgsql-bugs@postgresql.org
Date: 2018-02-20T21:46:48Z
Lists: pgsql-bugs
Claudio Freire <klaussfreire@gmail.com> writes: > On Tue, Feb 20, 2018 at 6:27 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> (2) independently of that, it sounds like REFRESH >> MATERIALIZED VIEW CONCURRENTLY is somehow preventing advancement of the >> matview's relfrozenxid in the source DB. > Not necessarily. I have vacuum_table_freeze_max_age set to 350M, so > it's not yet due for freezing. Perhaps, but it seems pretty suggestive that all of the non-concurrently refreshed matviews have relfrozenxid significantly newer than all of the concurrently refreshed ones. Maybe that's just coincidence, or a predictable outcome of your usage pattern, but I think it needs explaining. regards, tom lane
Commits
-
Repair pg_upgrade's failure to preserve relfrozenxid for matviews.
- d3b0a23a2093 9.3.22 landed
- 9936f149952b 9.5.12 landed
- 66e203c851ab 9.6.8 landed
- 5ab5d21aaa0e 10.3 landed
- 38b41f182a66 11.0 landed
- 2d12c559335e 9.4.17 landed