This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How do I upgrade Postgres database in Cygwin?


Il 8/20/2013 7:27 PM, Chloe ha scritto:
I updated some Cygwin packages and now I can't start Postgres:

     $ /usr/sbin/postmaster
     FATAL:  database files are incompatible with server
     DETAIL:  The data directory was initialized by PostgreSQL version
8.2, which is not compatible with this version 9.2.4.

I tried
[pg_upgrade](http://www.postgresql.org/docs/9.2/static/pgupgrade.html)
but you need to specify both the old and new binary. Plus, pg_upgrade
says it only works with 8.3.

I thought I could use setup-x86.exe to pick the previous version, which
is 8.2.11-1, however when I install that, then I can't start Postgres:


     $ /usr/sbin/postgres.exe
     Bad system call (core dumped)


you need cygserver running as service




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]