From 06b9e0a8ec2b550df99e97ff518e5cdab001dd32 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Wed, 7 Oct 2015 10:13:11 +0900 Subject: [PATCH] Clarify purpose of get_repmgr_schema() --- dbutils.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dbutils.c b/dbutils.c index 03edf0b5..f65e3d5d 100644 --- a/dbutils.c +++ b/dbutils.c @@ -765,6 +765,12 @@ cancel_query(PGconn *conn, int timeout) return true; } + +/* Return the repmgr schema as an unmodified string + * This is useful for displaying the schema name in log messages, + * however inclusion in SQL statements, get_repmgr_schema_quoted() should + * always be used. + */ char * get_repmgr_schema(void) {