Обсуждение: pgsql: Improve includes introduced in the replication origins patch.

Поиск
Список
Период
Сортировка

pgsql: Improve includes introduced in the replication origins patch.

От
Andres Freund
Дата:
Improve includes introduced in the replication origins patch.

pg_resetxlog.h contained two superfluous includes, origin.h superfluously
depended on logical.h, and pg_xlogdump's rmgrdesc.h only indirectly
included origin.h.

Backpatch: 9.5, where replication origins were introduced.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3a145757a0cd19bfce770abeefa16af674e1bc09

Modified Files
--------------
src/bin/pg_resetxlog/pg_resetxlog.c |    2 --
src/bin/pg_xlogdump/rmgrdesc.c      |    1 +
src/include/replication/origin.h    |    4 +++-
3 files changed, 4 insertions(+), 3 deletions(-)