postgres set schema in query code example Example: postgres set default schema SET search_path TO schema_name;