1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-15 01:04:37 +02:00

Set application_name to "pgBackRest [command]" for database connections.

Suggested by Jens Wilke.
This commit is contained in:
David Steele
2016-10-05 21:15:10 -04:00
parent 0a4099fff8
commit 16d0e767ef
4 changed files with 38 additions and 0 deletions

View File

@ -34,6 +34,8 @@ use constant PG_VERSION_95 => '9.5';
use constant PG_VERSION_96 => '9.6';
push @EXPORT, qw(PG_VERSION_96);
use constant PG_VERSION_APPLICATION_NAME => PG_VERSION_90;
push @EXPORT, qw(PG_VERSION_APPLICATION_NAME);
use constant PG_VERSION_HOT_STANDBY => PG_VERSION_91;
push @EXPORT, qw(PG_VERSION_HOT_STANDBY);
use constant PG_VERSION_BACKUP_STANDBY => PG_VERSION_92;