Some settings changes in postgresql.conf require a full restart, which will terminate active connections and abort uncommitted transactions:
To stop server
Rule
38.4.1. How Update Rules Work
For ON INSERT rules, the original query (if not suppressed by INSTEAD)
is done before any actions added by rules. This allows the actions to
see the inserted row(s).
For ON UPDATE and ON DELETE rules, the original query is done after
the actions added by rules. This ensures that the actions can see the
to-be-updated or to-be-deleted rows; otherwise, the actions might do
nothing because they find no rows matching their qualifications.