Package: postgresql-common
Version: 94lenny1
Severity: important

pg_upgradecluster fails to work if the cluster uses table spaces.

| # pg_upgradecluster -v 8.3 8.1 main
| Creating new cluster (configuration: /etc/postgresql/8.3/main, data: 
/var/lib/postgresql/8.3/main)...
| Moving configuration file /var/lib/postgresql/8.3/main/postgresql.conf to 
/etc/postgresql/8.3/main...
| Moving configuration file /var/lib/postgresql/8.3/main/pg_hba.conf to 
/etc/postgresql/8.3/main...
| Moving configuration file /var/lib/postgresql/8.3/main/pg_ident.conf to 
/etc/postgresql/8.3/main...
| Configuring postgresql.conf to use port 5433...
| Disabling connections to the old cluster during upgrade...
| Disabling connections to the new cluster during upgrade...
| Re-enabling connections to the old cluster...
| Re-enabling connections to the new cluster...
| Creating globals...
| ERROR:  directory "/srv/backup/database" is not empty
| Fixing hardcoded library paths for stored procedures...
| Upgrading database bastian...
| Analyzing database bastian...
| Fixing hardcoded library paths for stored procedures...
| Upgrading database bacula...
| pg_restore: [archiver (db)] Error while PROCESSING TOC:
| pg_restore: [archiver (db)] Error from TOC entry 1765; 1262 24661 DATABASE 
bacula bacula
| pg_restore: [archiver (db)] could not execute query: ERROR:  tablespace 
"backup" does not exist
|     Command was:
| CREATE DATABASE bacula WITH TEMPLATE = template0 ENCODING = 'SQL_ASCII' 
TABLESPACE = backup;
| pg_restore: [archiver (db)] could not execute query: ERROR:  database 
"bacula" does not exist
|     Command was: ALTER DATABASE bacula OWNER TO bacula;
| pg_restore: [archiver (db)] could not reconnect to database: FATAL:  database 
"bacula" does not exist
| Error during cluster dumping, removing new cluster

Bastian

-- 
Deflector shields just came on, Captain.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to