From 53ddefbaf8a0493d2c1fa0b18bfaba72da556985 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 14 May 2019 13:11:23 -0400 Subject: Remove pg_rewind's private logging.h/logging.c files. The existence of these files became rather confusing with the introduction of a widely-known logging.h header in commit cc8d41511. (Indeed, there's already some duplicative #includes here, perhaps betraying such confusion.) The only thing left in them, after that commit, is a progress-reporting function that's neither general-purpose nor tied in any way to other logging infrastructure. Hence, let's just move that function to pg_rewind.c, and get rid of the separate files. Discussion: https://postgr.es/m/3971.1557787914@sss.pgh.pa.us --- src/bin/pg_rewind/libpq_fetch.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/bin/pg_rewind/libpq_fetch.c') diff --git a/src/bin/pg_rewind/libpq_fetch.c b/src/bin/pg_rewind/libpq_fetch.c index 11ec045b8ec..b6fa7e5b09c 100644 --- a/src/bin/pg_rewind/libpq_fetch.c +++ b/src/bin/pg_rewind/libpq_fetch.c @@ -19,12 +19,10 @@ #include "fetch.h" #include "file_ops.h" #include "filemap.h" -#include "logging.h" #include "libpq-fe.h" #include "catalog/pg_type_d.h" #include "fe_utils/connect.h" -#include "fe_utils/logging.h" #include "port/pg_bswap.h" static PGconn *conn = NULL; -- cgit v1.2.3