DB/*: add option to set search_path

as requested by @frodrigo