mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
Create temporary pg.auto.conf file with the same permissions as the original
Commit 0574279 set the file permissions to 0600 rather than the user's
umask, but if initdb was executed with -g/--allow-group-access, the
file is maintained with 0640, so we'll just maintain the existing
permssions.
This commit is contained in:
@@ -1165,7 +1165,6 @@ _get_pg_setting(PGconn *conn, const char *setting, char *str_output, bool *bool_
|
||||
/*
|
||||
* Note we assume the caller is sure this is a boolean parameter
|
||||
*/
|
||||
printf("YYY %s\n", PQgetvalue(res, i, 1));
|
||||
if (strncmp(PQgetvalue(res, i, 1), "on", MAXLEN) == 0)
|
||||
*bool_output = true;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user