Re: [PATCH] reloptions - RELOPT_KIND_ALL - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [PATCH] reloptions - RELOPT_KIND_ALL
Date
Msg-id 20090123141452.GD4047@alvh.no-ip.org
Whole thread Raw
In response to Re: [PATCH] reloptions - RELOPT_KIND_ALL  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: [PATCH] reloptions - RELOPT_KIND_ALL  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List 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 by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Hot Standby (v9d)
Next
From: Andrew Chernow
Date:
Subject: AIX 4.3 getaddrinfo busted