Re: Dept of ugly hacks: eliminating padding space in system indexes - Mailing list pgsql-hackers

From Zdenek Kotala
Subject Re: Dept of ugly hacks: eliminating padding space in system indexes
Date
Msg-id 486A3FE6.5090602@sun.com
Whole thread Raw
In response to Re: Dept of ugly hacks: eliminating padding space in system indexes  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane napsal(a):
> Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
>> Tom Lane napsal(a):
>>> Cutting a third off the size of a system index has got to be worth
>>> something, but is it worth a hack as ugly as this one?
> 
>> The problem what I see there is how to fit with in-place-upgrade. Catalog should 
>> be generate from scratch, but if somebody uses name in regular table it invokes 
>> request for reindex.
> 
> Actually, an existing index stored as "name" would continue to work
> fine, so I think this could be worked around.   But in any case name is
> deprecated for user use, so anyone who suffers a reindex has only
> themselves to blame.

Yes, it is deprecated by you know a user. Give him a loaded shot-gun and he 
start play a golf :-).

However, reindex is acceptable penalty for user who uses deprecated things.
    Zdenek


pgsql-hackers by date:

Previous
From: Zdenek Kotala
Date:
Subject: Re: PATCH: CITEXT 2.0
Next
From: Robert Treat
Date:
Subject: Re: A new take on the foot-gun meme