Re: Partitioned index can be not dumped

Поиск
Список
Период
Сортировка
От Álvaro Herrera
Тема Re: Partitioned index can be not dumped
Дата
Msg-id 202106302132.7nazvrjdsbtp@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Partitioned index can be not dumped  (Zhihong Yu <zyu@yugabyte.com>)
Ответы Re: Partitioned index can be not dumped
Список pgsql-hackers
On 2021-Jun-30, Zhihong Yu wrote:

> Hi,
> nit:
> -       if (hasindex)
> +       if (nindexes > 0)
> 
> It seems hasindex is no longer needed since nindexes is checked.

It's still used to call vac_update_relstats().  We want nindexes to be 0
for partitioned tables, but still pass true when there are indexes.

Please don't forget to trim the text of the email you're replying to.

-- 
Álvaro Herrera                        Valdivia, Chile
                        https://www.EnterpriseDB.com/



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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Multiple pg_waldump --rmgr options
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: New committers: Daniel Gustafsson and John Naylor