File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -186,15 +186,15 @@ DECLARE
186
186
_q_txt text ;
187
187
_ignored_cols_snip text = ' ' ;
188
188
BEGIN
189
- EXECUTE ' DROP TRIGGER IF EXISTS audit_trigger_row ON ' || quote_ident( target_table:: TEXT ) ;
190
- EXECUTE ' DROP TRIGGER IF EXISTS audit_trigger_stm ON ' || quote_ident( target_table:: TEXT ) ;
189
+ EXECUTE ' DROP TRIGGER IF EXISTS audit_trigger_row ON ' || target_table;
190
+ EXECUTE ' DROP TRIGGER IF EXISTS audit_trigger_stm ON ' || target_table;
191
191
192
192
IF audit_rows THEN
193
193
IF array_length(ignored_cols,1 ) > 0 THEN
194
194
_ignored_cols_snip = ' , ' || quote_literal(ignored_cols);
195
195
END IF;
196
196
_q_txt = ' CREATE TRIGGER audit_trigger_row AFTER INSERT OR UPDATE OR DELETE ON ' ||
197
- quote_ident( target_table:: TEXT ) ||
197
+ target_table ||
198
198
' FOR EACH ROW EXECUTE PROCEDURE audit.if_modified_func(' ||
199
199
quote_literal(audit_query_text) || _ignored_cols_snip || ' );' ;
200
200
RAISE NOTICE ' %' ,_q_txt;
You can’t perform that action at this time.
0 commit comments