delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/08/20/13:27:45

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=Kzs
jBFtIX1ZBHecFe3vWLDSTMeF55/6EmMG0VwR75olT7Bf9HzMYV6ZTsJGzShEZnhl
GFEPMKTHHS1Mu2P/jCgKn6N1Rw/2zRB7hX2T9Pf57Wk3pTvLYuPYgp/+hney6zsX
AB7z/lieuh/N/L0vYE4j4wdo+WKLR4XcOphXsw9o=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=F0an566re
GKJXuJCeegp1v4hnG0=; b=qsa2QOaitJFuB9ASuGMYpMrHYeNdF0FfnUvs6GYHu
EEp8Rvq6PGyEWZU0/XE+XwR2fCOJe0UOITWta/2u8qwNebxwPI08A6UFoNBI/5f/
WI2yrKfndE4X4E/EH6QqWgWiX/HT78z1V+byZAOI6xPD5lRMSB8OYalqqcTHzzHB
rs=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.2
Message-ID: <5213A59B.7040107@oliveyou.net>
Date: Tue, 20 Aug 2013 13:27:28 -0400
From: Chloe <starrychloe AT oliveyou DOT net>
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: How do I upgrade Postgres database in Cygwin?

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)



--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019