Install libghc-hdbc-postgresql-prof by entering the following commands in the terminal:
sudo apt update sudo apt install libghc-hdbc-postgresql-prof
Description:
PostgreSQL HDBC Driver for GHC; profiling libraries
HDBC provides an abstraction layer between Haskell programs and SQL relational databases. This lets you write database code once, in Haskell, and have it work with any number of backend SQL databases. . This package provides the PostgreSQL database driver for HDBC under GHC compiled for profiling.
Homepage: http://hackage.haskell.org/package/HDBC-postgresql
Version: 2.3.2.4-3build4
Section: universe/haskell