Rebased patch. No changes except that merge conflicts were resolved, and I had to add some Data::Dumper tweaks to the regression tests so that the results came out in consistent order on different versions of Perl.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных