Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL

Поиск
Список
Период
Сортировка
От Chris
Тема Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL
Дата
Msg-id 3899746F.9869F4D8@bitmead.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-sql
Bruce Momjian wrote:

> > Well I see that pg_class has columns like "relhasindex". If we added a
> > "relhassubclass", the overhead should be unmeasureable.
> 
> Yes, but how do you keep that accurate?  If I add indexes, then drop
> them, does relhasindex go to false. 

I don't know. Does it? 

>Could you do that for relhassubclass?

If we made it relnumsubclasses and incremented/decremented on
CREATE/DROP, it seems easy in theory.


-- 
Chris Bitmead
mailto:chris@bitmead.com
http://www.techphoto.org - Photography News, Stuff that Matters


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: [SQL] Proposed Changes to PostgreSQL