Here's an updated version taking into account the discussion so far. It's still a net addition of code (about +200 lines according to diffstat), but I think the consolidation of logic is probably worth that. Any further comments? regards, tom lane
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных