By default, the SELinux boolean postgresql_selinux_unconfined_dbadm
is enabled.
If this setting is disabled, it should be enabled as it allows Database Administrators to
execute Data Manipulation Language (DML) statements.
To enable the postgresql_selinux_unconfined_dbadm
SELinux boolean, run the following command:
$ sudo setsebool -P postgresql_selinux_unconfined_dbadm on