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:
70f887f
)
bdr: ignore temp objects when queueing
author
Alvaro Herrera
<alvherre@alvh.no-ip.org>
Thu, 20 Feb 2014 22:18:59 +0000
(19:18 -0300)
committer
Andres Freund
<andres@anarazel.de>
Thu, 3 Jul 2014 15:55:18 +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 96022372e6df9e84b4f2c25f788327e1bf895406..27262cf1615516ab39568d7e0a713bd163765dee 100644
(file)
--- a/
contrib/bdr/bdr--0.5.sql
+++ b/
contrib/bdr/bdr--0.5.sql
@@
-161,6
+161,11
@@
DECLARE
BEGIN
FOR r IN SELECT * FROM pg_event_trigger_get_creation_commands()
LOOP
+ /* ignore temporary objects */
+ IF r.schema = 'pg_temp' THEN
+ CONTINUE;
+ END IF;
+
INSERT INTO bdr.bdr_queued_commands
(obj_type, obj_identity, command, executed)
VALUES