I just implemented the same function using an array holding all the booleans fields describing the objects. It works well. Thank you to all of you. -- Non c'e' piu' forza nella normalita', c'e' solo monotonia.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных