Re: the big picture for index-only scans
От | Robert Haas |
---|---|
Тема | Re: the big picture for index-only scans |
Дата | |
Msg-id | CA+TgmoYAY88kvzdmxSBW8FnXS0dtYyjo4bHs=G95L=DCrVKGmQ@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: the big picture for index-only scans (Bruce Momjian <bruce@momjian.us>) |
Список | pgsql-hackers |
On Fri, Aug 19, 2011 at 11:22 AM, Bruce Momjian <bruce@momjian.us> wrote: > Robert Haas wrote: >> > I am happy to have pg_upgrade skip upgrading visibility map files --- it >> > already has code to conditionally process them because they only exist >> > in >= 8.4: >> > >> > ? ? ? ?/* fsm/vm files added in PG 8.4 */ >> > ? ? ? ?if (GET_MAJOR_VERSION(old_cluster.major_version) >= 804) >> > ? ? ? ?{ >> > ? ? ? ? ? ?/* >> > ? ? ? ? ? ? * Copy/link any fsm and vm files, if they exist >> > ? ? ? ? ? ? */ >> > >> > Just give the word and it will be done. >> >> I hereby give the word. :-) >> >> Specifically, we need to skip copying vm files (only) if coming from a >> version prior to this commit: >> >> http://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=e16954f3d27fa8e16c379ff6623ae18d6250a39c > > Done with the attached, applied patch. There was no cat-version bump > from that commit (because the format didn't change, just the > crash-safeness) so I picked the first cat-version change after this > commit. This is only a pg_upgrade 9.2+ issue. Thanks! -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
В списке pgsql-hackers по дате отправления: