Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PG-1254, PG-1253, PG-1250: Improve diagnostic messages #382

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dutow
Copy link
Collaborator

@dutow dutow commented Dec 13, 2024

  • Event triggers dumped a debug log message with the LOG level. This commit completely removes it, this is a debug functionality for development, it can be simply re-added temporarily during event trigger development
  • Many, but not all FATAL messages are now ERROR messages. A few messages dealing with data corruption are still FATAL.
  • Some of these also got a TODO comment, as it looks like those would result in a corrupted internal key file, resulting in data loss. These parts should be improved.
  • Key generation on keyring was missing some error messages, and also displayed some of the messages as WARNING instead of ERROR. This is now all fixed, functions like pg_tde_set_principal key only display one specific error message explaining the problem.

@dutow dutow requested a review from dAdAbird as a code owner December 13, 2024 08:31
@dutow dutow requested review from artemgavrilov and dAdAbird and removed request for dAdAbird December 13, 2024 08:31
* Event triggers dumped a debug log message with the LOG level.
  This commit completely removes it, this is a debug functionality
  for development, it can be simply re-added temporarily during
  event trigger development
* Many, but not all FATAL messages are now ERROR messages. A few
  messages dealing with data corruption are still FATAL.
* Some of these also got a TODO comment, as it looks like those
  would result in a corrupted internal key file, resulting in data
  loss. These parts should be improved.
* Key generation on keyring was missing some error messages, and also
  displayed some of the messages as WARNING instead of ERROR. This
  is now all fixed, functions like pg_tde_set_principal key only
  display one specific error message explaining the problem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant