projects
/
users
/
andresfreund
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7774d75
)
bdr: conflict handlers: always forbid conflict handlers on system tables
author
Christian Kruse
<cjk@defunct.ch>
Wed, 7 May 2014 13:44:34 +0000
(15:44 +0200)
committer
Andres Freund
<andres@anarazel.de>
Thu, 3 Jul 2014 15:55:31 +0000
(17:55 +0200)
contrib/bdr/bdr_conflict_handlers.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/bdr/bdr_conflict_handlers.c
b/contrib/bdr/bdr_conflict_handlers.c
index 5452a1d531ca85df91fb19e7bd53c196faf9c3e6..5cbea84d6cecd0ea45f641166a029089cf6815a3 100644
(file)
--- a/
contrib/bdr/bdr_conflict_handlers.c
+++ b/
contrib/bdr/bdr_conflict_handlers.c
@@
-147,7
+147,7
@@
bdr_conflict_handlers_check_access(Oid reloid)
(errmsg("Access to relation %d denied",
reloid)));
- if (
!allowSystemTableMods &&
IsSystemClass(reloid, classform))
+ if (IsSystemClass(reloid, classform))
ereport(ERROR,
(errmsg("Access to relation %d denied because it is a system relation",
reloid)));