Re: Re: [COMMITTERS] pgsql: Can't completely get rid of #ifndef FRONTEND in palloc.h :-(

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Re: [COMMITTERS] pgsql: Can't completely get rid of #ifndef FRONTEND in palloc.h :-(
Дата
Msg-id 20140428153215.GI25695@eldon.alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Re: [COMMITTERS] pgsql: Can't completely get rid of #ifndef FRONTEND in palloc.h :-(  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:

> What might be less breakable is to identify exactly which declarations
> pg_controldata needs out of this file and push just those into some new
> header.

Yeah, I also thought about that but didn't get around to trying.

> However, pg_controldata is just the tip of the iceberg --- to get any
> mileage out of this, we'd also have to make pg_resetxlog and pg_xlogdump
> able to compile with only postgres_fe.h, so there might be too much stuff
> involved.

IIRC we didn't have pg_xlogdump when I wrote this, and I checked
pg_resetxlog and it wasn't nearly as simple as pg_controldata.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: includedir_internal headers are not self-contained
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Decrease MAX_BACKENDS to 2^16