Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#36851 - [postgresql] 9.3: postgresql-check-db-dir still expects old version

Attached to Project: Arch Linux
Opened by Marti (intgr) - Tuesday, 10 September 2013, 15:56 GMT
Last edited by Dan McGee (toofishes) - Friday, 13 September 2013, 11:51 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
I upgraded to postgresql 9.3.0-1 from testing today; I think the /usr/bin/postgresql-check-db-dir script has not been updated to the new version.

# grep VERSION= /usr/bin/postgresql-check-db-dir
PGMAJORVERSION=9.2
PREVMAJORVERSION=9.1

# pacman -Qo /usr/bin/postgresql-check-db-dir
/usr/bin/postgresql-check-db-dir is owned by postgresql 9.3.0-1

After successfully upgrading the /var/lib/postgres/data directory:

# systemctl status postgresql.service
postgresql.service - PostgreSQL database server
Loaded: loaded (/usr/lib/systemd/system/postgresql.service; enabled)
Active: failed (Result: exit-code) since Tue 2013-09-10 18:50:30 EEST; 2min 58s ago
Process: 19814 ExecStartPre=/usr/bin/postgresql-check-db-dir ${PGROOT}/data (code=exited, status=1/FAILURE)
Main PID: 19385 (code=exited, status=0/SUCCESS)

Sep 10 18:50:30 wrx postgres[19814]: An old version of the database format was found.

# cat /var/lib/postgres/data/PG_VERSION
9.3
This task depends upon

Closed by  Dan McGee (toofishes)
Friday, 13 September 2013, 11:51 GMT
Reason for closing:  Works for me
Additional comments about closing:  This was fixed a long time ago in 9.3.0-2.

Loading...