Re: Proposal: In-Place upgrade concept

Поиск
Список
Период
Сортировка
От Zdenek Kotala
Тема Re: Proposal: In-Place upgrade concept
Дата
Msg-id 468B4EAD.2070100@sun.com
обсуждение исходный текст
Ответ на Re: Proposal: In-Place upgrade concept  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

> 
>> I do not expect that old code will work with new index structure. I want 
>> to keep both implementation and old index will be processed by old code 
>> and new one will be processed by new implementation. Each will have 
>> different OID and pg_class.relam will point to correct implementation. 
> 
> I don't think it's quite that easy when you consider user-defined
> datatypes.  Where are you going to get two sets of opclasses from?

Good point. I think if new index implementation does not change meaning 
of strategy and function number old opclasses set could be used. And it 
is only for new created or recreated indexes. Existing indexes will work 
fine with old opclasses set.

        Zdenek


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

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Re: what is difference between LOCAL and GLOBAL TEMP TABLES in PostgreSQL
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Proposal: In-Place upgrade concept