git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 1a83a80) | patch
Add routine able to update the control file to src/common/
2019年3月12日 01:03:33 +0000 (10:03 +0900)
2019年3月12日 01:03:33 +0000 (10:03 +0900)
commit ce6afc6823fbe2d83a5a77061b05864612b6bab2
Add routine able to update the control file to src/common/

This adds a new routine to src/common/ which is compatible with both the
frontend and backend code, able to update the control file's contents.
This is now getting used only by pg_rewind, but some upcoming patches
which add more control on checksums for offline instances will make use
of it. This could also get used more by the backend as xlog.c has its
own flavor of the same logic with some wait events and an additional
flush phase before closing the opened file descriptor, but this is let
as separate work.

Author: Michael Banck, Michael Paquier
Reviewed-by: Fabien Coelho, Sergei Kornilov
Discussion: https://postgr.es/m/20181221201616.GD4974@nighthawk.caipicrew.dd-dns.de
src/bin/pg_rewind/pg_rewind.c diff | blob | blame | history
src/common/controldata_utils.c diff | blob | blame | history
src/include/common/controldata_utils.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /