summaryrefslogtreecommitdiffstats
path: root/debian/postgresql-common.templates
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 13:35:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 13:35:12 +0000
commitf06340a3d93a12d610416030f0b8c766bfee63ca (patch)
tree8d9c4eeec6afd2dc01aa6a17435a4f63c3e769d5 /debian/postgresql-common.templates
parentAdding upstream version 258. (diff)
downloadpostgresql-common-f06340a3d93a12d610416030f0b8c766bfee63ca.tar.xz
postgresql-common-f06340a3d93a12d610416030f0b8c766bfee63ca.zip
Adding debian version 258.debian/258
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/postgresql-common.templates')
-rw-r--r--debian/postgresql-common.templates54
1 files changed, 54 insertions, 0 deletions
diff --git a/debian/postgresql-common.templates b/debian/postgresql-common.templates
new file mode 100644
index 0000000..0055833
--- /dev/null
+++ b/debian/postgresql-common.templates
@@ -0,0 +1,54 @@
+Template: postgresql-common/obsolete-major
+Type: error
+_Description: Obsolete major version ${old}
+ The PostgreSQL version ${old} is obsolete, but the server
+ or client packages are still installed. Please install the latest packages
+ (postgresql-${latest} and postgresql-client-${latest}) and upgrade the
+ existing ${oldversion} clusters with pg_upgradecluster (see manpage).
+ .
+ Please be aware that the installation of postgresql-${latest} will
+ automatically create a default cluster ${latest}/main. If you want to upgrade
+ the ${old}/main cluster, you need to remove the already existing ${latest}
+ cluster (pg_dropcluster --stop ${latest} main, see manpage for
+ details).
+ .
+ The old server and client packages are no longer supported. After the
+ existing clusters are upgraded, the postgresql-${old} and
+ postgresql-client-${old} packages should be removed.
+ .
+ Please see /usr/share/doc/postgresql-common/README.Debian.gz for details.
+
+Template: postgresql-common/ssl
+Type: boolean
+Default: true
+_Description: Enable SSL by default in new PostgreSQL clusters?
+ PostgreSQL supports SSL-encrypted connections. This is usually a good thing.
+ However, if the database is solely accessed using TCP connections on
+ localhost, SSL can be turned off without introducing security issues.
+ .
+ UNIX domain socket connections (called "local" in pg_hba.conf) are not
+ affected by this setting. This setting concerns new PostgreSQL clusters
+ created during package install, or by using the pg_createcluster command. It
+ does not reconfigure existing clusters.
+ .
+ If unsure, enable SSL.
+
+# The last paragraph of this note does not appear in PO files.
+# It contains shell commands and should not be translated.
+Template: postgresql-common/catversion-bump
+Type: note
+#flag:translate:1,2,3
+_Description: PostgreSQL ${version} catalog version changed
+ The PostgreSQL cluster ${version} ${cluster} was created using catalog
+ version ${db_catversion}, but the currently being installed package
+ postgresql-${version} is using catalog version ${new_catversion}. You will not
+ be able to use this cluster until it was upgraded to the new catalog version.
+ .
+ The necessary subset of binaries from the old version was saved in
+ ${vartmpdir}. To upgrade the cluster, execute these commands:
+ .
+ pg_renamecluster ${version} ${cluster} ${cluster}.old
+ pg_upgradecluster ${version} ${cluster}.old --rename ${cluster} \
+ -m upgrade -v ${version} --old-bindir=${vartmpdir}/bin
+ pg_dropcluster ${version} ${cluster}.old
+ rm -rf ${vartmpdir}