Skip to content

Fix PostgreSQL create database script and client_min_message level#981

Merged
arogge merged 3 commits intobareos:masterfrom
bruno-at-bareos:5014_Fix_PostgreSQL_create_database_script
Nov 11, 2021
Merged

Fix PostgreSQL create database script and client_min_message level#981
arogge merged 3 commits intobareos:masterfrom
bruno-at-bareos:5014_Fix_PostgreSQL_create_database_script

Conversation

@bruno-at-bareos
Copy link
Contributor

@bruno-at-bareos bruno-at-bareos commented Nov 11, 2021

This PR improve the way we create Bareos database with PostgreSQL and fix the used level for client_min_message to actual valid values.

This need a backport to 20 before 20.0.4 release.

Thank you for contributing to the Bareos Project!

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

General
  • PR name is meaningful
  • Purpose of the PR is understood
  • Separate commit for this PR in the CHANGELOG.md, PR number referenced is same
  • Commit descriptions are understandable and well formatted
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR
  • bareos-check-sources --since-merge does not report any problems
  • git status should not report modifications in the source tree after building and testing

- Put Encoding and LC directly into SQL create code
- Rework the check about encoding and LC

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
- PostgreSQL client_min_message = 'fatal' is no more supported
  update them all to 'error' or 'warning' level

Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
Signed-off-by: Bruno Friedmann <bruno.friedmann@bareos.com>
@arogge arogge merged commit c45ad99 into bareos:master Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants