- The
postgresql.conffile for environments running AlloyDB Omni on a VM.
Update a parameter in AlloyDB Omni using RPM
In an AlloyDB Omni using RPM installation, you can update a parameter by editing the postgresql.conf file as follows:
Locate the
postgresql.confconfiguration file for your installation of AlloyDB Omni.Use a text editor to add or update a database flag in
postgresql.conf.For example, to enforce password expiration, set the following flag in the
postgresql.conffile:password.enforce_expiration = ONAfter your database flags are added or edited, reload the
postgresql.conffile for the changes to take effect by restarting the AlloyDB Omni service:sudo systemctl restart alloydbomni18