File: postgresql.templates

package info (click to toggle)
postgresql-common 282
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,528 kB
  • sloc: perl: 4,170; sh: 1,572; makefile: 327; sql: 13; ansic: 10
file content (26 lines) | stat: -rw-r--r-- 1,012 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Template: postgresql/auto_upgrade
Type: boolean
Default: false
#flag:translate:1,2,3,5
_Description: Upgrade PostgreSQL cluster ${oldversion}/main to ${newversion}?
 The PostgreSQL database cluster ${oldversion}/main can be upgraded to version
 ${newversion}, this will be attempted now. (If no automated cluster upgrades
 are desired, uninstall the "postgresql" meta package.)
 .
 Alternatively, the cluster can later be upgraded by running the command:
 .
   pg_upgradecluster ${oldversion} main -v ${newversion}
 .
 Once the upgraded cluster has been validated to work, drop the old cluster
 using the command:
 .
   pg_dropcluster ${oldversion} main

Template: postgresql/auto_upgrade_failed
Type: note
#flag:translate:1,2
_Description: PostgreSQL upgrade of cluster ${oldversion}/main failed
 The automated upgrade of PostgreSQL cluster ${oldversion}/main to version
 ${newversion} failed. Please investigate the situation and re-run the command:
 .
   pg_upgradecluster ${oldversion} main -v ${newversion}