hello why BOOL can not be casted to TEXT ...nevertheless BOOL has a textual (output) representation 't' and 'f' letters why not to use this fact to define cast to TEXT ?
pgsql-sql by date:
Соглашаюсь с условиями обработки персональных данных