Re: Odd pg dump error: cache lookup failure

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Odd pg dump error: cache lookup failure
Дата
Msg-id 20201021200659.GA32358@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Odd pg dump error: cache lookup failure  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Odd pg dump error: cache lookup failure  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
On 2020-Aug-25, Tom Lane wrote:

> Oh wait a second.  Matviews can have indexes, and getTables doesn't
> lock them (because we don't allow LOCK TABLE on views).

Here's a quick patchset that makes pg_dump do LOCK TABLE on all
relations it dumps; patch 0001 allows server-side LOCK TABLE to run on
any relkind, and then 0002 makes pg_dump test for that capability at
connection start, and if it exists, then it's used for all relations to
dump.

Вложения

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

Предыдущее
От: Thomas Kellerer
Дата:
Сообщение: Re: Regarding query on the postgresql upgrade
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Odd pg dump error: cache lookup failure