Hello I fixed an issues with empty sets. It just work, but there are some ugly hacks. It's really needs own planner node - now grouping functions are not supported by ORDER BY clause. Regards Pavel Stehule
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных