Skip to content

Commit 80b242c

Browse files
committed
Update audit.sql
1 parent 4c5e1ba commit 80b242c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

audit.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ BEGIN
104104
statement_timestamp(), -- action_tstamp_stm
105105
clock_timestamp(), -- action_tstamp_clk
106106
txid_current(), -- transaction ID
107-
(SELECT setting FROM pg_settings WHERE name = 'application_name'),
107+
current_setting('application_name'), -- client application
108108
inet_client_addr(), -- client_addr
109109
inet_client_port(), -- client_port
110110
current_query(), -- top-level query or queries (if multistatement) from client

0 commit comments

Comments
 (0)