Do not RESET the search_path: the LOCAL is good enough.
authorGreg Sabino Mullane <greg@endpoint.com>
Thu, 2 Jul 2015 02:20:13 +0000 (22:20 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Thu, 2 Jul 2015 02:20:13 +0000 (22:20 -0400)
bucardo.schema

index 4e43346da6c3c8cea068f5560b5ad15559aa209b..8846747c75685719a643a9df605e2505bddc6e4c 100644 (file)
@@ -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)