pg_amcheck option to install extension

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pg_amcheck option to install extension
Дата
Msg-id bdc0f7c2-09e3-ee57-8471-569dfb509234@dunslane.net
обсуждение исходный текст
Ответы Re: pg_amcheck option to install extension  (Mark Dilger <mark.dilger@enterprisedb.com>)
Список pgsql-hackers
Hi,

Peter Geoghegan suggested that I have the cross version upgrade checker
run pg_amcheck on the upgraded module. This seemed to me like a good
idea, so I tried it, only to find that it refuses to run unless the
amcheck extension is installed. That's fair enough, but it also seems to
me like we should have an option to have pg_amcheck install the
extension is it's not present, by running something like 'create
extension if not exists amcheck'. Maybe in such a case there could also
be an option to drop the extension when pg_amcheck's work is done - I
haven't thought through all the implications.

Given pg_amcheck is a new piece of work I'm not sure if we can sneak
this in under the wire for release 14. I will certainly undertake to
review anything expeditiously. I can work around this issue in the
buildfarm, but it seems like something other users are likely to want.


cheers


andrew


--
Andrew Dunstan
EDB: https://www.enterprisedb.com




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Forget close an open relation in ReorderBufferProcessTXN()
Следующее
От: PegoraroF10
Дата:
Сообщение: More info on pg_stat_activity Wait Event Name when is DataFileRead