It is not the "SET search_path" statement that is blocking the truncate, but probably some earlier statement issued in the same transaction.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных