Skip to content

Commit 7a3fc20

Browse files
committed
Merge pull request 2ndQuadrant#4 from ADTC/master
The trigger allows logging of query text to be disabled, but has a not-null constraint on the query text field in the logged_actions table. Fix per @ATDC.
2 parents 68290ec + 3cb1d48 commit 7a3fc20

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
@@ -47,7 +47,7 @@ CREATE TABLE audit.logged_actions (
4747
application_name text,
4848
client_addr inet,
4949
client_port integer,
50-
client_query text not null,
50+
client_query text,
5151
action TEXT NOT NULL CHECK (action IN ('I','D','U', 'T')),
5252
row_data hstore,
5353
changed_fields hstore,

0 commit comments

Comments
 (0)