如何在Cygwin上安装Postgres 9.4?

时间:2016-04-04 19:42:40

标签: postgresql cygwin downgrade

我使用setup升级了所有软件包,但9.5表示它与9.4不兼容。 (https://serverfault.com/questions/532379/how-do-i-upgrade-postgres-database-in-cygwin)我试图降级到9.4以导出数据库,但是当我尝试启动它时它给了我一个错误。

我尝试用ftp://www.fruitbat.org/pub/cygwin/circa/2015/09/25/151012/index.html安装Postgres版本9.4.4-2,但现在它不会启动。我也尝试安装9.4.4-1,但这也没有成功。我还尝试退出所有Cygwin进程并运行' dash'和' rebaseall',但它没有帮助。如何安装旧版Postgres 9.4以升级到9.5?

$ /usr/sbin/postgres --version
postgres (PostgreSQL) 9.4.4

$ /usr/sbin/postgres
FATAL:  could not create shared memory segment: Function not implemented
DETAIL:  Failed system call was shmget(key=5432001, size=40, 03600).

$ /setup-x86 -X -q -P postgresql-9.4.4-1
note: Hand installation over to elevated child process.

$ /usr/sbin/postgres --version
postgres (PostgreSQL) 9.4.4

$ /usr/sbin/postgres
FATAL:  could not create shared memory segment: Function not implemented
DETAIL:  Failed system call was shmget(key=5432001, size=40, 03600).

0 个答案:

没有答案