Tom Lane wrote: > How about putting the enum {} declaration in xlog.h, and making the > field in pg_control.h just be declared "int"?
I tried that at first, but the problem was with pg_controldata.c. In bin/. I wanted it to print wal_mode in human-readable format, so it needed the values of the enum from somewhere. I tried to "#include <access/xlog.h>" in pg_controlinfo.c, but got a bunch of errors. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers