diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-03-29 20:02:14 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-03-29 20:02:14 -0400 |
commit | c67f366fa9f748257861ee233b47b80eb5ffa857 (patch) | |
tree | c76f6288f45e7d9979b1294cda0df01684f75ad3 /src/backend/utils/adt/array_userfuncs.c | |
parent | e4cbfd673d530a3e841db26a74f22e11a991205a (diff) | |
download | postgresql-c67f366fa9f748257861ee233b47b80eb5ffa857.tar.gz postgresql-c67f366fa9f748257861ee233b47b80eb5ffa857.zip |
Fix multiple bugs and infelicities in pg_rewind.
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).
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions