From 4e833c8d9ff9f8afe2df0d510e726003f2711026 Mon Sep 17 00:00:00 2001 From: Greg Sabino Mullane Date: Wed, 1 Jul 2015 22:20:13 -0400 Subject: [PATCH] Do not RESET the search_path: the LOCAL is good enough. --- bucardo.schema | 4 ---- 1 file changed, 4 deletions(-) diff --git a/bucardo.schema b/bucardo.schema index 4e43346da..8846747c7 100644 --- a/bucardo.schema +++ b/bucardo.schema @@ -1743,8 +1743,6 @@ BEGIN total = total + 1; END LOOP; - RESET search_path; - RETURN 'Tables processed: ' || total; END; @@ -2157,8 +2155,6 @@ FOR EACH ROW EXECUTE PROCEDURE bucardo.bucardo_delta_names_helper(); die qq{Could not determine column information for table "$remoteschema.$remotetable"!\n}; } - $dbh->do('RESET search_path'); - my $colinfo = $columninfo->{$oid}; ## Allow for 'dead' columns in the attnum ordering ## Turn the old keys (attname) into new keys (number) -- 2.39.5