1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/src/command
David Steele 713211d89f Clean up const usage in bufPtr() and bufRemainsPtr().
These functions accepted const Buffer objects and returned non-const pointers which is definitely not a good idea. Add bufPtrConst() to handle cases where only a const return value is needed and update call sites.

Use UNCONSTIFY() in cases where library code out of our control requires a non-const pointer. This includes the already-documented exception in command/backup/pageChecksum and input buffers in the gzCompress and gzDecompress filters.
2020-04-02 17:25:49 -04:00
..
archive Add infrastructure for multiple compression type support. 2020-03-06 14:41:03 -05:00
backup Clean up const usage in bufPtr() and bufRemainsPtr(). 2020-04-02 17:25:49 -04:00
check Move not found error into walSegmentFind(). 2019-12-12 16:28:26 -05:00
control Add _FMT() logging macro variants. 2019-11-22 13:33:26 -05:00
expire Improve and centralize backup dependency calculation. 2020-03-26 14:05:40 -04:00
help Fix scoping violations exposed by optimizations in gcc 9. 2019-07-05 16:25:28 -04:00
info Add MEM_CONTEXT_PRIOR() block and update current call sites. 2020-01-17 13:29:49 -07:00
local The local command for backup is implemented entirely in C. 2019-07-25 14:34:16 -04:00
remote Fix options being ignored by asynchronous commands. 2020-01-15 12:24:58 -07:00
repo Add repo-create, repo-get, repo-put, and repo-rm commands. 2020-03-09 17:15:03 -04:00
restore Fix typos. 2020-03-28 17:48:57 -04:00
stanza Add flag to dbGet() to require a standby. 2019-12-02 07:39:42 -05:00
command.c Add SocketClient object. 2020-03-31 12:43:29 -04:00
command.h Enable -Wstrict-prototypes and update all void functions to conform. 2018-08-03 19:19:14 -04:00