Re: WIP patch: reducing overhead for repeat de-TOASTing

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: WIP patch: reducing overhead for repeat de-TOASTing
Дата
Msg-id 20080702150544.GS18252@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: WIP patch: reducing overhead for repeat de-TOASTing  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: WIP patch: reducing overhead for repeat de-TOASTing  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

> It would be simple enough to fix nodeSubplan.c to copy the data into
> an upper-level Slot rather than a bare tuple.  But this makes me wonder
> how many other places are like this.  In the past there wasn't that much
> benefit to pulling data from a Slot instead of a bare tuple, so I'm
> afraid we might have a number of similar gotchas we'd have to track
> down.

I compare this to adding CHECK_FOR_INTERRUPTS(): let's declare that
every usage of bare tuples is a not-very-serious bug, and we can fix
them one by one as we come across them.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Location for pgstat.stat
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [WIP] patch - Collation at database level