Re: including backend ID in relpath of temp rels - updated patch

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: including backend ID in relpath of temp rels - updated patch
Дата
Msg-id AANLkTi=0+4bESnqXPmvWRQUCvrVyVH3G5C15NjyCb35P@mail.gmail.com
обсуждение исходный текст
Ответ на Re: including backend ID in relpath of temp rels - updated patch  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Sun, Jul 25, 2010 at 4:32 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Sun, Jul 25, 2010 at 2:37 AM, Jaime Casanova <jaime@2ndquadrant.com> wrote:
>> but i have a few questions, maybe is right what you did i only want to
>> understand it:
>> - you added this in include/storage/smgr.h, so why is safe to assume
>> that if the backend != InvalidBackendId it must be a temp relation?
>>
>> +#define SmgrIsTemp(smgr) \
>> +   ((smgr)->smgr_rnode.backend != InvalidBackendId)
>
> That's pretty much the whole point of the patch.  Instead of
> identifying relations as simply "temporary" or "not temporary", we
> identify as "a temporary relation owned by backend X" or as "not
> temporary".
>

Ok, this one seems good enough... i'm marking it as "ready for committer"

--
Jaime Casanova         www.2ndQuadrant.com
Soporte y capacitación de PostgreSQL


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

Предыдущее
От: Florian Pflug
Дата:
Сообщение: Re: Patch to show individual statement latencies in pgbench output
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: page corruption on 8.3+ that makes it to standby