Andrew Dunstan <andrew@dunslane.net> writes:
> Your second go at fixing this seems to have almost worked. Is there a
> reason why, alone of the utility programs, pg_resetxlog.c uses
> postgres.h rather than postgres_fe.h?
It doesn't compile otherwise.
We could possibly refactor the backend includes enough that it could get
the info it needs from frontend-safe headers. I think Zdenek was
working on that awhile back, in fact. For the moment what I'm trying
is to #define FRONTEND anyway ...
regards, tom lane