Same problem on Debian Bullseye, php-7.4.5, postgresql-12.2, nc-18.0.4.2.
This workaround works for me: