don't create storage when unnecessary

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема don't create storage when unnecessary
Дата
Msg-id 20181206215552.fm2ypuxq6nhpwjuc@alvherre.pgsql
обсуждение исходный текст
Ответы Re: don't create storage when unnecessary  (Andres Freund <andres@anarazel.de>)
Re: don't create storage when unnecessary  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
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.


PS: I think it'd be worth following up with this ...
https://postgr.es/m/CAFjFpRcfzs+yst6YBCseD_orEcDNuAr9GUTraZ5GC=AvCYh55Q@mail.gmail.com

-- 
Álvaro Herrera

Вложения

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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Connections hang indefinitely while taking a gin index's LWLockbuffer_content lock
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: [HACKERS] Can ICU be used for a database's default sort order?