View Issue Details

IDProjectCategoryView StatusLast Update
0001456bareos-corefile daemonpublic2022-05-12 17:27
Reportermdc Assigned Tobruno-at-bareos  
PrioritynormalSeverityfeatureReproducibilityalways
Status acknowledgedResolutionopen 
Platformx86_64OSCentOSOS Versionstream 8
Product Version21.1.2 
Summary0001456: Add role support ro the postgresql backup add on
DescriptionIn many installations of PostgreSQL user and roles are used.
Currently the plug in only works, when the user have the needed rights directly after login.
But in some installations an "SET ROLE FOO" call is needed, before the "Select" and "pg_..." calls.
So it will be nice, when the add-on takes an other parameter called "role", which is None by default.
So when the parameter is set in the config, after the connect to the DB, an "Set ROLE <VALUE>" is called, before the rest will run.
Additional InformationWhen its help, I can create an PR on github for it.
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

Activities

bruno-at-bareos

bruno-at-bareos

2022-05-10 17:21

developer   ~0004607

Hello, I've seen the patch in the other ticket, maybe you should really propose this as a PR on github.
Review the developer guide, and follow the process, we will help you to get this into the code.
mdc

mdc

2022-05-11 08:06

reporter   ~0004611

Created as https://github.com/bareos/bareos/pull/1178
bruno-at-bareos

bruno-at-bareos

2022-05-12 17:27

developer   ~0004622

related to PR-1178

Issue History

Date Modified Username Field Change
2022-05-05 09:54 mdc New Issue
2022-05-10 17:21 bruno-at-bareos Note Added: 0004607
2022-05-11 08:06 mdc Note Added: 0004611
2022-05-12 17:27 bruno-at-bareos Assigned To => bruno-at-bareos
2022-05-12 17:27 bruno-at-bareos Status new => acknowledged
2022-05-12 17:27 bruno-at-bareos Note Added: 0004622