Thread: pgsql: Define PG_LOGICAL_DIR for path pg_logical/ in data folder

pgsql: Define PG_LOGICAL_DIR for path pg_logical/ in data folder

From
Michael Paquier
Date:
Define PG_LOGICAL_DIR for path pg_logical/ in data folder

This is similar to 2065ddf5e34c, 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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c39afc38cfec7c34b883095062a89a63b221521a

Modified Files
--------------
src/backend/access/heap/rewriteheap.c           | 18 ++++++++--------
src/backend/replication/logical/origin.c        | 10 ++++++---
src/backend/replication/logical/reorderbuffer.c |  6 +++---
src/backend/replication/logical/snapbuild.c     | 28 ++++++++++++++-----------
src/backend/utils/adt/genfile.c                 | 10 +++++----
src/include/replication/reorderbuffer.h         |  5 +++++
6 files changed, 46 insertions(+), 31 deletions(-)