/usr/lib/postfix/postfix-pgsql.so.1.0.1 is in postfix-pgsql 3.3.0-1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/lib/postfix/postfix-pgsql.so
/usr/lib/postfix/postfix-pgsql.so