+16
-3
nixos/modules/services/databases/postgresql.xml
+16
-3
nixos/modules/services/databases/postgresql.xml
···-After the upgrade it's advisable to analyze the new cluster (as <literal>su -l postgres</literal> in the-<xref linkend="opt-services.postgresql.dataDir" />, in this example <filename>/var/lib/postgresql/13</filename>):
···+For PostgreSQL ≥ 14, use the <literal>vacuumdb</literal> command printed by the upgrades script.+For PostgreSQL < 14, run (as <literal>su -l postgres</literal> in the <xref linkend="opt-services.postgresql.dataDir" />, in this example <filename>/var/lib/postgresql/13</filename>):