Re: [PATCH] Partial indicies again

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCH] Partial indicies again
Дата
Msg-id 28736.994773398@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCH] Partial indicies again  (Martijn van Oosterhout <kleptog@svana.org>)
Ответы Re: [PATCH] Partial indicies again
Список pgsql-general
Martijn van Oosterhout <kleptog@svana.org> writes:
> To actually be able to use ExecInsertIndexTuples, you need to create an
> EState, a ResultRelInfo and put each tuple in a TupleSlot for a while. Does
> it sound like I'm on the right track? That's quite a few changes.

Right.  I'd recommend copy.c as a model.

> Isn't someone else playing with the vacuum code for 7.2 anyway (for
> background vacuums)? We'd better make sure we don't clash.

That would be me.

> Back to other issues. pg_dump now works for partial indicies, as long as the
> pg_get_expr function is defined. To make that an internal function I have
> add it to pg_proc.h and initdb again, right?

Right.  I'd suggest sticking the source in ruleutils.c.

            regards, tom lane

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

Предыдущее
От: Janning Vygen
Дата:
Сообщение: Re: Performance tuning for linux, 1GB RAM, dual CPU?
Следующее
От: Philip Molter
Дата:
Сообщение: Re: Performance tuning for linux, 1GB RAM, dual CPU?