How to upgrade PostgreSQL with PostGIS?
我正在运行PostgreSQL 9.1,我正在尝试升级到PostgreSQL 9.3:
$ /usr/lib/postgresql/9.3/bin/pg_upgrade -b
/usr/lib/postgresql/9.1/bin -B /usr/lib/postgresql/9.3/bin -d
/var/lib/postgresql/9.1/main/ -D /var/lib/postgresql/9.3/main/ -O"-c
config_file=/etc/postgresql/9.3/main/postgresql.conf" -o"-c
config_file=/etc/postgresql/9.1/main/postgresql.conf"
然而它失败了:
Checking for presence of required libraries fatal
Your installation references loadable libraries that are missing from
the new installation. You can add these libraries to the new
installation, or remove the functions using them from the old
installation. A list of problem libraries is in the file:
loadable_libraries.txt
Could not load library"$libdir/postgis-1.5" ERROR: could not access
file"$libdir/postgis-1.5": No such file or directory
当使用自制软件升级到PostGIS 2.1和PostgreSQL 9.3.1时,它类似于Missing库。
我正在运行Ubuntu,我使用
有人管理过吗?
由于PostgreSQL 9.3不支持PostGIS 1.5,因此您也在升级PostGIS版本。 由于