You must have been right about the problem being due to something being leftover from the old DB because I cannot recreate the problem anymore. Sorry to have spotted a non-existent bug. Jc
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных