mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-18 04:58:51 +02:00
Add comment about setting application_name.
This commit is contained in:
parent
ce98e326e1
commit
c5a507b9a6
@ -233,6 +233,7 @@ dbOpen(Db *this)
|
|||||||
}
|
}
|
||||||
MEM_CONTEXT_END();
|
MEM_CONTEXT_END();
|
||||||
|
|
||||||
|
// Set application name to help identify the backup session
|
||||||
if (this->pgVersion >= PG_VERSION_APPLICATION_NAME)
|
if (this->pgVersion >= PG_VERSION_APPLICATION_NAME)
|
||||||
dbExec(this, strNewFmt("set application_name = '%s'", strPtr(this->applicationName)));
|
dbExec(this, strNewFmt("set application_name = '%s'", strPtr(this->applicationName)));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user