diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:48:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:48:40 +0000 |
commit | ae09e15ef846b4b5b7664f375d31a2e635585aa6 (patch) | |
tree | 229bb55c1647dfa88110e88139294c1131b8e5c6 /debian/01autoremove-postgresql | |
parent | Adding upstream version 200+deb10u5. (diff) | |
download | postgresql-common-ae09e15ef846b4b5b7664f375d31a2e635585aa6.tar.xz postgresql-common-ae09e15ef846b4b5b7664f375d31a2e635585aa6.zip |
Adding debian version 200+deb10u5.debian/200+deb10u5debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/01autoremove-postgresql')
-rw-r--r-- | debian/01autoremove-postgresql | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/01autoremove-postgresql b/debian/01autoremove-postgresql new file mode 100644 index 0000000..3f473d1 --- /dev/null +++ b/debian/01autoremove-postgresql @@ -0,0 +1,17 @@ +// File installed by postgresql-common. Currently not updated automatically, +// but might be in future releases. +// +// We mark all PostgreSQL packages as NeverAutoRemove because otherwise apt +// would remove the old postgresql-NN package when the "postgresql" meta +// package changes its dependencies to a new version, rendering the old +// database cluster inaccessible. As access to the cluster might depend on +// other modules (like datatypes), we use a pretty wide pattern here. We might +// tighten this to match only actually used PostgreSQL versions in the future. + +APT +{ + NeverAutoRemove + { + "^postgresql-"; + }; +}; |