# File lib/rubyrep/replication_extenders/postgresql_replication.rb, line 25 def schema_prefix unless @schema_prefix search_path = select_one("show search_path")['search_path'] if search_path =~ /[,$]/ @schema_prefix = "" else @schema_prefix = %("#{search_path}".) end end @schema_prefix end