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:
a61027a
)
bdr: Don't insert commands into bdr_queued_commands during replay.
author
Andres Freund
<
[email protected]
>
Tue, 25 Feb 2014 12:39:33 +0000
(13:39 +0100)
committer
Andres Freund
<
[email protected]
>
Thu, 3 Jul 2014 15:55:19 +0000
(17:55 +0200)
contrib/bdr/bdr--0.5.sql
patch
|
blob
|
blame
|
history
diff --git
a/contrib/bdr/bdr--0.5.sql
b/contrib/bdr/bdr--0.5.sql
index 4564d1d1fe933eba77723eae34830fa33839ad04..e72fd25a8a10c8009374b1f7673a87b5274c4017 100644
(file)
--- a/
contrib/bdr/bdr--0.5.sql
+++ b/
contrib/bdr/bdr--0.5.sql
@@
-159,6
+159,10
@@
AS $function$
DECLARE
r RECORD;
BEGIN
+ IF pg_replication_identifier_is_replaying() THEN
+ RETURN;
+ END IF;
+
FOR r IN SELECT * FROM pg_event_trigger_get_creation_commands()
LOOP
/* ignore temporary objects */