mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
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
This commit is contained in:
@@ -17,6 +17,9 @@
|
||||
#include "storage/spin.h"
|
||||
#include "replication/walreceiver.h"
|
||||
|
||||
/* directory to store replication slot data in */
|
||||
#define PG_REPLSLOT_DIR "pg_replslot"
|
||||
|
||||
/*
|
||||
* Behaviour of replication slots, upon release or crash.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user