Re: don't create storage when unnecessary

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: don't create storage when unnecessary
Дата
Msg-id 20181206225115.cyp53konqyxgerly@alap3.anarazel.de
обсуждение исходный текст
Ответ на don't create storage when unnecessary  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Hi,

On 2018-12-06 18:55:52 -0300, Alvaro Herrera wrote:
> Some time ago, after partitioned indexes had been pushed, I realized
> that even though I didn't want them to have relfilenodes, they did.  And
> looking closer I noticed that *a lot* of relation kinds that didn't need
> relfilenodes, had them anyway.
> 
> This patch fixes that; if no relfilenode is needed, it's not created.
> 
> I didn't verify pg_upgrade behavior across this commit.  Maybe something
> needs tweaking there.

Hm, that generally sounds like a good plan. Could we back this up with
tests in misc_sanity.sql or such?

- Andres


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

Предыдущее
От: Elvis Pranskevichus
Дата:
Сообщение: [PATCH] Allow anonymous rowtypes in function return column definition
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Hint and detail punctuation