View Issue Details

IDProjectCategoryView StatusLast Update
0001456bareos-corefile daemonpublic2022-09-08 14:04
Reportermdc Assigned Tobruno-at-bareos  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
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.

Activities

bruno-at-bareos

bruno-at-bareos

2022-05-10 17:21

manager   ~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

manager   ~0004622

related to PR-1178
bruno-at-bareos

bruno-at-bareos

2022-09-08 14:04

manager   ~0004743

Merged finally today. Thanks for the PR.

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
2022-09-08 14:04 bruno-at-bareos Status acknowledged => closed
2022-09-08 14:04 bruno-at-bareos Resolution open => fixed
2022-09-08 14:04 bruno-at-bareos Note Added: 0004743