Define PG_REPLSLOT_DIR for path pg_replslot/ in data folder
Michael Paquier <michael@paquier.xyz>
Define PG_REPLSLOT_DIR for path pg_replslot/ in data folder This commit replaces most of the hardcoded values of "pg_replslot" by a new PG_REPLSLOT_DIR #define. This makes the style more consistent with the existing PG_STAT_TMP_DIR, for example. More places will follow a similar change. Author: Bertrand Drouvot Reviewed-by: Ashutosh Bapat, Yugo Nagata, Michael Paquier Discussion: https://postgr.es/m/ZryVvjqS9SnV1GPP@ip-10-97-1-34.eu-west-3.compute.internal
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/backup/basebackup.c | modified | +2 −1 |
| src/backend/replication/logical/reorderbuffer.c | modified | +9 −8 |
| src/backend/replication/slot.c | modified | +23 −23 |
| src/backend/utils/adt/genfile.c | modified | +3 −2 |
| src/bin/pg_rewind/filemap.c | modified | +1 −1 |
| src/include/replication/slot.h | modified | +3 −0 |
Discussion
- define PG_REPLSLOT_DIR 26 messages · 2024-08-14 → 2024-09-03