Ok - discovered the solution in pgsql-php, repeated below for reference:
----------------------------------------
From: "Peter De Muer (Work)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: Re: 7.3.1 update gives PHP libpq.so.2 problem
Date: Tue, 4 Feb 2003 14:06:04 +0100
try making a soft link libpq.so.2 to the libpq.so.3 file that comes
with
PHP 7.3.1.
regards,
pt3r
-------------------------------------------
End of quoted message
So (for me) its a case of:
cd /usr/lib
ln -s libpq.so.3 libpq.so.2
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match