Add option "--dump-config"

This is initially intended for verifying the configuration parsing
mechanism and is currently undocumented.
This commit is contained in:
Ian Barwick
2020-09-18 15:11:49 +09:00
parent 4670515285
commit 1f3e098104
6 changed files with 115 additions and 8 deletions

View File

@@ -386,12 +386,9 @@ output_check_status(CheckStatus status)
}
return "UNKNOWN";
}
/*
* Escape a string for use as a parameter in recovery.conf
* Caller must free returned value
@@ -433,7 +430,6 @@ escape_string(PGconn *conn, const char *string)
/*
* simple function to escape double quotes only
*/
void
escape_double_quotes(char *string, PQExpBufferData *out)
{