hello.please check the typo "WTIH CHECK" in CREATE POLICY doc <http://stream.boxwatch.ru/docs/9.5/static/sql-createpolicy.html> (9.5 and devel. version).patch is in attachments.
-- Dmitriy Olshevskiy