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:
81edbf6
)
bdr: Also accept ProcessedConstraints in the commandfilter.
author
Andres Freund
<
[email protected]
>
Wed, 30 Apr 2014 16:37:14 +0000
(18:37 +0200)
committer
Andres Freund
<
[email protected]
>
Thu, 3 Jul 2014 15:55:30 +0000
(17:55 +0200)
That makes CREATE TABLE ..( ... REFERENCES ...) work.
contrib/bdr/bdr_commandfilter.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/bdr/bdr_commandfilter.c
b/contrib/bdr/bdr_commandfilter.c
index 30b00837489c08bc1abb1eac497837a8bfd793f3..54c981c659b2f8dbfa69a670380dfeaf21a4d606 100644
(file)
--- a/
contrib/bdr/bdr_commandfilter.c
+++ b/
contrib/bdr/bdr_commandfilter.c
@@
-162,6
+162,7
@@
bdr_commandfilter(Node *parsetree,
break;
case AT_AddConstraint:
+ case AT_ProcessedConstraint:
if (IsA(stmt->def, Constraint))
{
con = (Constraint *) stmt->def;