Re: bloated heapam.h

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: bloated heapam.h
Дата
Msg-id 2309.1210552516@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: bloated heapam.h  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: bloated heapam.h  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> However, it seems the right fix is to move BufferGetPageSize and
> BufferGetPage from bufpage.h to bufmgr.h.

That sounds sane if it fixes the problem.

> (Digging further, it seems like bufpage.h should also include transam.h
> in order to get TransactionIdIsNormal ... I start to wonder how many
> problems of this nature we have on our headers.  Without having a way to
> detect whether the defined macros are valid, it seems hard to check
> programatically, however.)

Yeah, I'm certain there's some other problems of the same kind, but I
don't see any easy way to find 'em.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: bloated heapam.h
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: bloated heapam.h