From 5fe335a33b33d96ac83cdf1172c32f59eca4b497 Mon Sep 17 00:00:00 2001 From: Benedikt Waldvogel Date: Thu, 10 Oct 2024 09:37:28 +0200 Subject: [PATCH] Expose the Charset that is used when dumping files --- .../java/de/cronn/postgres/snapshot/util/PostgresDump.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/de/cronn/postgres/snapshot/util/PostgresDump.java b/src/main/java/de/cronn/postgres/snapshot/util/PostgresDump.java index 1d91cf3..a9527de 100644 --- a/src/main/java/de/cronn/postgres/snapshot/util/PostgresDump.java +++ b/src/main/java/de/cronn/postgres/snapshot/util/PostgresDump.java @@ -24,8 +24,9 @@ public final class PostgresDump { private static final Logger log = LoggerFactory.getLogger(PostgresDump.class); + public static final Charset ENCODING = StandardCharsets.UTF_8; + private static final String CONTAINER_DUMP_FILE = "/tmp/pg_dump.data"; - private static final Charset ENCODING = StandardCharsets.UTF_8; private PostgresDump() { }