[finishes #41686977] add option to execute sql with "public" schema in search path and use option for workfile executions