1
0
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:
David Steele 2020-06-24 19:33:56 -04:00
parent ce98e326e1
commit c5a507b9a6

View File

@ -233,6 +233,7 @@ dbOpen(Db *this)
}
MEM_CONTEXT_END();
// Set application name to help identify the backup session
if (this->pgVersion >= PG_VERSION_APPLICATION_NAME)
dbExec(this, strNewFmt("set application_name = '%s'", strPtr(this->applicationName)));
}