projects
/
slony1-engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
196c855
)
Make log_truncate() SECURITY DEFINER.
author
Jan Wieck
<JanWieck@Yahoo.com>
Thu, 16 May 2013 17:37:35 +0000
(13:37 -0400)
committer
Jan Wieck
<JanWieck@Yahoo.com>
Thu, 16 May 2013 21:25:38 +0000
(17:25 -0400)
src/backend/slony1_funcs.sql
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/slony1_funcs.sql
b/src/backend/slony1_funcs.sql
index 91fbee46d69092bbc03e26fd7bbea738f2eda279..2518e79f2b2c986ebc46b465b57ab68b3b24a10e 100644
(file)
--- a/
src/backend/slony1_funcs.sql
+++ b/
src/backend/slony1_funcs.sql
@@
-6027,7
+6027,8
@@
$$
end if;
return NULL;
end
-$$ language plpgsql;
+$$ language plpgsql
+ security definer;
comment on function @NAMESPACE@.log_truncate ()
is 'trigger function run when a replicated table receives a TRUNCATE request';