I understand that you never wrote any PL handler but was just thinking about this functionality as a follow-up to our conversation. I was just wondering whether anonymous DO blocks *must* return void or not? The docs for DO say it is a function returning void - https://www.postgresql.org/docs/current/sql-do.html
But the docs for CREATE LANGUAGE's INLINE HANDLER say 'typically return void' - https://www.postgresql.org/docs/current/sql-createlanguage.html
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных