Install dbconfig-pgsql by entering the following commands in the terminal:
sudo apt update sudo apt install dbconfig-pgsql
dbconfig-common PostgreSQL support
This package ensures PostgreSQL support in the dbconfig-common framework, and should be in the depends list of packages that require PostgreSQL support from dbconfig-common. . System administrators that don't want dbconfig-common to handle the database management should install dbconfig-no-thanks instead.