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:
63ba4ad
)
bdr: generated_key wasn't used at all, so drop it
author
Christian Kruse
<cjk@defunct.ch>
Fri, 28 Mar 2014 14:57:05 +0000
(15:57 +0100)
committer
Andres Freund
<andres@anarazel.de>
Thu, 3 Jul 2014 15:55:22 +0000
(17:55 +0200)
contrib/bdr/bdr_apply.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/bdr/bdr_apply.c
b/contrib/bdr/bdr_apply.c
index 67ffcc519af180e1d7335cd0bf5c3975d4510acd..cd4d2a6ce0e071789cd37ac5ab179d886291f5ce 100644
(file)
--- a/
contrib/bdr/bdr_apply.c
+++ b/
contrib/bdr/bdr_apply.c
@@
-413,7
+413,6
@@
process_remote_update(StringInfo s)
HeapTuple old_tuple;
BDRTupleData new_tuple;
Oid idxoid;
- HeapTuple generated_key = NULL;
ItemPointerData oldtid;
Relation rel;
Relation idxrel;
@@
-632,8
+631,6
@@
process_remote_update(StringInfo s)
}
err:
- if (!primary_key_changed && generated_key != NULL)
- heap_freetuple(generated_key);
check_sequencer_wakeup(rel);