Is this in a backend with ssl?
If you go up one frame, what value does port->sock have?
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных