We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c5e1ba + 80b242c commit d256c1cCopy full SHA for d256c1c
audit.sql
@@ -104,7 +104,7 @@ BEGIN
104
statement_timestamp(), -- action_tstamp_stm
105
clock_timestamp(), -- action_tstamp_clk
106
txid_current(), -- transaction ID
107
- (SELECT setting FROM pg_settings WHERE name = 'application_name'),
+ current_setting('application_name'), -- client application
108
inet_client_addr(), -- client_addr
109
inet_client_port(), -- client_port
110
current_query(), -- top-level query or queries (if multistatement) from client
0 commit comments