Re: [PATCH] reloptions - RELOPT_KIND_ALL

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [PATCH] reloptions - RELOPT_KIND_ALL
Дата
Msg-id 20090123141452.GD4047@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: [PATCH] reloptions - RELOPT_KIND_ALL  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Ответы Re: [PATCH] reloptions - RELOPT_KIND_ALL  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Список pgsql-hackers
Zdenek Kotala wrote:
> 
> Alvaro Herrera píše v pá 23. 01. 2009 v 11:04 -0300:
> > Zdenek Kotala wrote:
> > > I attached patch which add capability to have single record for all
> > > realation kind in the reloption list. It is usefull in situation when
> > > all parameters are same for all relation kinds.
> > 
> > Do you have an example use case for this?
> 
> I use it in my space reservation patch. I going to send it soon. The
> default value is zero in all relkind and max value as well. It seems to
> me waste a space to copy and paste same lines several times.

Hmm, but is it really applicable to all relkinds?  Is it applicable to
GIN indexes for example?  Keep in mind that GIN does not even have
fillfactor.  How are you going to make space reservation work for GIN?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Hot Standby (v9d)
Следующее
От: Andrew Chernow
Дата:
Сообщение: AIX 4.3 getaddrinfo busted