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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers