Package: postgresql-common
Version: 278
Severity: normal
X-Debbugs-Cc: [email protected]

I would suggest to check for available disk space before running upgrade in 
pg_upgradecluster. May be adding some "Are you sure [Y/n]:" interaction in 
this case, or just refuse to do upgrade without needed free space. And adding 
some "-f" option for overriding that.

This is especially important since now `pg_upgradecluster` is started from 
package upgrade script. User most probably will not think carefully about free 
space for upgrading at that time. We should inform him explicitly.

Since I both perl developer and deal with PostgreSQL core code on regular 
basis I can provide patches for these functionality, if Debian PostgreSQL 
Maintainers approve the idea.


-- System Information:
Debian Release: 13.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.48+deb13-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages postgresql-common depends on:
ii  adduser                    3.152
ii  debconf [debconf-2.0]      1.5.91
ii  init-system-helpers        1.69~deb13u1
ii  libjson-perl               4.10000-1
ii  lsb-base                   11.6
ii  perl                       5.40.1-6
ii  postgresql-client-common   278
ii  postgresql-common-dev      278
ii  ssl-cert                   1.1.3
ii  sysvinit-utils [lsb-base]  3.14-4
ii  ucf                        3.0052

Versions of packages postgresql-common recommends:
ii  e2fsprogs  1.47.2-3+b3
ii  logrotate  3.22.0-1

postgresql-common suggests no packages.

-- debconf information excluded

Reply via email to