/usr/lib/gambas3/gb.db.postgresql.so is in gambas3-gb-db-postgresql 3.9.1-3.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/gambas3/gb.db.postgresql.so.0.0.0
/usr/lib/gambas3/gb.db.postgresql.so.0.0.0