How to install Postgresql on Ubuntu from PPA with data-checksums enabled? We are currently installing Postgresql from the PostgreSQL apt repository. Is there some way to get "apt-get install postgresql-9.6" to use the --data-checksums option when setting up the cluster?

Or do we need to install Postgresql differently?
If you do not want to install and drop the cluster on Debian and related, you could:


Install postgresql-common;
Edit the /etc/postgresql-common/createcluster.conf file to allow the use of the --data-checksums option;
Install postgresql-9.6.