Re: pg_upgrade failing for 200+ million Large Objects

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_upgrade failing for 200+ million Large Objects
Дата
Msg-id 1152134.1699555261@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_upgrade failing for 200+ million Large Objects  ("Kumar, Sachin" <ssetiya@amazon.com>)
Ответы Re: pg_upgrade failing for 200+ million Large Objects  (Andres Freund <andres@anarazel.de>)
Re: pg_upgrade failing for 200+ million Large Objects  ("Kumar, Sachin" <ssetiya@amazon.com>)
Re: pg_upgrade failing for 200+ million Large Objects  ("Kumar, Sachin" <ssetiya@amazon.com>)
Список pgsql-hackers
[ Jacob's email address updated ]

"Kumar, Sachin" <ssetiya@amazon.com> writes:
> Hi Everyone , I want to continue this thread , I have rebased the patch to latest
> master and fixed an issue when pg_restore prints to file.

Um ... you didn't attach the patch?

FWIW, I agree with Jacob's concern about it being a bad idea to let
users of pg_upgrade pass down arbitrary options to pg_dump/pg_restore.
I think we'd regret going there, because it'd hugely expand the set
of cases pg_upgrade has to deal with.

Also, pg_upgrade is often invoked indirectly via scripts, so I do
not especially buy the idea that we're going to get useful control
input from some human somewhere.  I think we'd be better off to
assume that pg_upgrade is on its own to manage the process, so that
if we need to switch strategies based on object count or whatever,
we should put in a heuristic to choose the strategy automatically.
It might not be perfect, but that will give better results for the
pretty large fraction of users who are not going to mess with
weird little switches.

            regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: meson documentation build open issues
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Bug: RLS policy FOR SELECT is used to check new rows