mirror of
https://github.com/postgres/postgres.git
synced 2025-07-26 01:22:12 +03:00
Define PG_LOGICAL_DIR for path pg_logical/ in data folder
This is similar to 2065ddf5e3
, but this time for pg_logical/ itself
and its contents, like the paths for snapshots, mappings or origin
checkpoints.
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:
@ -18,6 +18,11 @@
|
||||
#include "utils/snapshot.h"
|
||||
#include "utils/timestamp.h"
|
||||
|
||||
/* paths for logical decoding data (relative to installation's $PGDATA) */
|
||||
#define PG_LOGICAL_DIR "pg_logical"
|
||||
#define PG_LOGICAL_MAPPINGS_DIR PG_LOGICAL_DIR "/mappings"
|
||||
#define PG_LOGICAL_SNAPSHOTS_DIR PG_LOGICAL_DIR "/snapshots"
|
||||
|
||||
/* GUC variables */
|
||||
extern PGDLLIMPORT int logical_decoding_work_mem;
|
||||
extern PGDLLIMPORT int debug_logical_replication_streaming;
|
||||
|
Reference in New Issue
Block a user