aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_rewind/filemap.c
Commit message (Collapse)AuthorAge
...
* pg_rewind: Improve internationalizationAlvaro Herrera2016-03-28
| | | | | | | This is mostly cosmetic since two of the three changes are debug messages, and the third one is just a progress indicator. Author: Michaƫl Paquier
* Update copyright for 2016Bruce Momjian2016-01-02
| | | | Backpatch certain files through 9.1
* Fix pg_rewind when pg_xlog is a symlink.Heikki Linnakangas2015-08-03
| | | | | | | | | | pg_xlog is often a symlink, typically to a different filesystem. Don't get confused and comlain about by that, and just always pretend that it's a normal directory, even if it's really a symlink. Also add a test case for this. Backpatch to 9.5.
* pg_rewind: Improve message wordingPeter Eisentraut2015-06-22
|
* Fix some issues in pg_rewind.Fujii Masao2015-06-11
| | | | | | | | | | | | | | * Remove invalid option character "N" from the third argument (valid option string) of getopt_long(). * Use pg_free() or pfree() to free the memory allocated by pg_malloc() or palloc() instead of always using free(). * Assume problem is no disk space if write() fails but doesn't set errno. * Fix several typos. Patch by me. Review by Michael Paquier.
* pgindent run for 9.5Bruce Momjian2015-05-23
|
* Minor cleanup of pg_rewind.Heikki Linnakangas2015-04-15
| | | | | | | | | | Update comments and function names to use the terms "source" and "target" consistently. Some places were calling them remote and local instead, which was confusing. Fix incorrect comment in extractPageInfo on database creation record - it was wrong on what happens for databases created in the target that don't exist in source.
* Fix multiple bugs and infelicities in pg_rewind.Tom Lane2015-03-29
| | | | | | | | | Bugs all spotted by Coverity, including wrong realloc() size request and memory leaks. Cosmetic improvements by me. The usage of the global variable "filemap" here is still pretty awful, but at least I got rid of the gratuitous aliasing in several routines (which was helping to annoy Coverity, as well as being a bug risk).
* Add pg_rewind, for re-synchronizing a master server after failback.Heikki Linnakangas2015-03-23
Earlier versions of this tool were available (and still are) on github. Thanks to Michael Paquier, Alvaro Herrera, Peter Eisentraut, Amit Kapila, and Satoshi Nagayasu for review.