mirror of
https://github.com/postgres/postgres.git
synced 2025-08-28 18:48:04 +03:00
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
This commit is contained in:
@@ -15,12 +15,10 @@
|
||||
|
||||
#include "datapagemap.h"
|
||||
#include "filemap.h"
|
||||
#include "logging.h"
|
||||
#include "pg_rewind.h"
|
||||
|
||||
#include "common/string.h"
|
||||
#include "catalog/pg_tablespace_d.h"
|
||||
#include "fe_utils/logging.h"
|
||||
#include "storage/fd.h"
|
||||
|
||||
filemap_t *filemap = NULL;
|
||||
|
Reference in New Issue
Block a user