There are several standards out there for stringifying hashes and I couldn't locate, in the perldoc for dbconnect, which one to pass in as the argument.
pgsql-interfaces by date:
Соглашаюсь с условиями обработки персональных данных