mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 00:46:29 +00:00
Refactor rsync file/directory exclusion
Better simulate what goes on in 'src/backend/replication/basebackup.c'; avoid copying some files/directories introduced in 9.4.
This commit is contained in:
@@ -248,7 +248,7 @@ get_server_version(PGconn *conn, char *server_version)
|
||||
PGresult *res;
|
||||
res = PQexec(conn,
|
||||
"SELECT current_setting('server_version_num'), "
|
||||
"current_setting('server_version')");
|
||||
" current_setting('server_version')");
|
||||
|
||||
if (PQresultStatus(res) != PGRES_TUPLES_OK)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user