Extra PostgreSQL Notes
PostgreSQL should have been installed automatically as part of the installation of Debian 12.
see /usr/share/doc/postgresql-common for some documentation
If, for some reason, that installation is incomplete, it is best to re-install PostgreSQL in your Debian 12.
sudo apt update sudo apt install postgresql postgresql-contrib