Re: Changeset Extraction v7.7

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Changeset Extraction v7.7
Дата
Msg-id 20140226183230.GA6718@awork2.anarazel.de
обсуждение исходный текст
Ответ на Re: Changeset Extraction v7.7  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Changeset Extraction v7.7  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On 2014-02-26 15:30:55 -0300, Alvaro Herrera wrote:
> Andres Freund escribió:
>
> > I am wondering about the related situation of GetOldestXmin()
> > callers. There's a fair bit of duplicated logic in the callers, before
> > but especially after this patchset. What about adding 'Relation rel'
> > parameter instead of `allDbs' and `systable'? That keeps the logic
> > centralized and there's been a fair amount of talk about vacuum
> > optimizations that could also use it.
> > It's a bit sad that that requires including rel.h from procarray.h...
>
> relcache.h, not rel.h.

RelationData is declared in rel.h, not relcache.h, no?

Alternatively we could just forward declare it in the header...

Greetings,

Andres Freund

-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: David Johnston
Дата:
Сообщение: Re: Function sugnature with default parameter
Следующее
От: Leon Smith
Дата:
Сообщение: Simplified VALUES parameters