After upgrading from 8.4 to 9.1, one of my plperl functions stopped working properly.For some reason, when matching a string using a regex, the $1 variablecannot be returned directly using return_next() but must be set to a variable first.If returned directly, it appears to be cached in some strange way,returning the same value for all 10 rows in the example below.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных