]> granicus.if.org Git - postgresql/commit
Remove pg_rewind's private logging.h/logging.c files.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 14 May 2019 17:11:23 +0000 (13:11 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 14 May 2019 17:11:23 +0000 (13:11 -0400)
commit53ddefbaf8a0493d2c1fa0b18bfaba72da556985
tree926b4b8b961310df9a32d69f9648eb21100d9ef4
parent7c850320d8cfa5503ecec61c2559661b924f7595
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
12 files changed:
src/bin/pg_rewind/Makefile
src/bin/pg_rewind/copy_fetch.c
src/bin/pg_rewind/file_ops.c
src/bin/pg_rewind/filemap.c
src/bin/pg_rewind/libpq_fetch.c
src/bin/pg_rewind/logging.c [deleted file]
src/bin/pg_rewind/logging.h [deleted file]
src/bin/pg_rewind/nls.mk
src/bin/pg_rewind/parsexlog.c
src/bin/pg_rewind/pg_rewind.c
src/bin/pg_rewind/pg_rewind.h
src/bin/pg_rewind/timeline.c