Skip to content

Commit 618bd11

Browse files
committed
Merge pull request 2ndQuadrant#11 from paulovieira/master
Add tag to the dollar-quoting definition of the function
2 parents b691bdc + c60b4b0 commit 618bd11

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

audit.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,9 @@ $body$ LANGUAGE SQL;
232232
-- And provide a convenience call wrapper for the simplest case
233233
-- of row-level logging with no excluded cols and query logging enabled.
234234
--
235-
CREATE OR REPLACE FUNCTION audit.audit_table(target_table regclass) RETURNS void AS $$
235+
CREATE OR REPLACE FUNCTION audit.audit_table(target_table regclass) RETURNS void AS $body$
236236
SELECT audit.audit_table($1, BOOLEAN 't', BOOLEAN 't');
237-
$$ LANGUAGE 'sql';
237+
$body$ LANGUAGE 'sql';
238238

239239
COMMENT ON FUNCTION audit.audit_table(regclass) IS $body$
240240
Add auditing support to the given table. Row-level changes will be logged with full client query text. No cols are ignored.

0 commit comments

Comments
 (0)