We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
application_name
I noticed that application_name is not being saved. Turns out the call to current_setting has a wrong setting_name parameter: instead of
current_setting
setting_name
current_setting('audit.application_name', true)
it should be simply
current_setting('application_name', true)
https://github.com/m-martinez/pg-audit-json/blob/master/sql/pg-audit-json--1.0.2.sql#L223-L224
More details about application_name: https://www.postgresql.org/docs/current/runtime-config-logging.html#GUC-APPLICATION-NAME
By the way, the other setting the is supposed to be saved (application_user_name) doesn't seem to be valid.
application_user_name
Thanks for this nice tool!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I noticed that
application_name
is not being saved. Turns out the call tocurrent_setting
has a wrongsetting_name
parameter: instead ofcurrent_setting('audit.application_name', true)
it should be simply
current_setting('application_name', true)
https://github.com/m-martinez/pg-audit-json/blob/master/sql/pg-audit-json--1.0.2.sql#L223-L224
More details about
application_name
: https://www.postgresql.org/docs/current/runtime-config-logging.html#GUC-APPLICATION-NAMEBy the way, the other setting the is supposed to be saved (
application_user_name
) doesn't seem to be valid.Thanks for this nice tool!
The text was updated successfully, but these errors were encountered: