Hi, I just noticed that e2c52beecd (adding PeterE in Cc) added a resetPQExpBuffer() which seems unnecessary since the variable is untouched since the initial createPQExpBuffer(). Simple patch attached.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных