Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> writes:
> On 2020-Sep-07, Tom Lane wrote:
>> If there were something to be on the warpath about, it's that initdb
>> is pulling in such an obviously backend-only header as that. I wonder
>> if we should refactor to fix that.
> Hmm, if we wanted to clean things up I think we should look at what
> other things from xlog_internal.h are being used by other frontend
> programs;
Yeah, I was thinking along the same lines, but hadn't done the legwork
to see what else is needed by frontend code.
regards, tom lane