X-Original-To: pgsql-general-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id B56EF9FB3B0 for ; Tue, 29 Aug 2006 20:14:51 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 97519-03-4 for ; Tue, 29 Aug 2006 23:14:39 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web52914.mail.yahoo.com (web52914.mail.yahoo.com [206.190.49.24]) by postgresql.org (Postfix) with SMTP id 0F38E9FB446 for ; Tue, 29 Aug 2006 19:03:09 -0300 (ADT) Received: (qmail 93592 invoked by uid 60001); 29 Aug 2006 22:03:08 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=lYhSh6+QJMhq9Tqet7H4KtylSol7I8OJ+zzyDXBSZjHEbJD53VyDKABuPFomiHmHzTsoD2gEbU4tEF7muHv3sAJY4Qv4mQME2AMufagIugnpTMli9zrs+FcOHcLmr+rRo6EydE5bXLbcxm7b5J01mMRBKTB1yyQCsHCeVgy/7jc= ; Message-ID: <20060829220308.93590.qmail@web52914.mail.yahoo.com> Received: from [24.8.120.181] by web52914.mail.yahoo.com via HTTP; Tue, 29 Aug 2006 15:03:08 PDT Date: Tue, 29 Aug 2006 15:03:08 -0700 (PDT) From: CSN Subject: Re: database files are incompatible with server, after computer restart To: Douglas McNaught Cc: pgsql-general@postgresql.org In-Reply-To: <871wqz8axf.fsf@suzuka.mcnaught.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.291 tagged_above=0 required=5 tests=FROM_HAS_ULINE_NUMS X-Spam-Level: X-Archive-Number: 200608/1309 X-Sequence-Number: 100080 --- Douglas McNaught wrote: > CSN writes: > > > I don't know which to run now! I tried both > > '/opt/local/lib/pgsql8/bin/pg_ctl start -D pgdata' > and > > You might want an absolute path for 'pgdata' > here--have you tried > that? ~ $ /opt/local/lib/pgsql8/bin/pg_ctl start -D /Users/csn/pgdata/ postmaster starting ~ $ FATAL: database files are incompatible with server DETAIL: The database cluster was initialized without HAVE_INT64_TIMESTAMP but the server was compiled with HAVE_INT64_TIMESTAMP. HINT: It looks like you need to recompile or initdb. > > putting /opt/local/lib/pgsql8/bin before > > /usr/local/bin in PATH and still get the same > error. > > Why don't you run both pg_ctl binaries with the > --version option, then > compare against the pg_control file in the data > directory (I think > that's what it's called). That should hopeully tell > you which one to run ~ $ /usr/local/bin/pg_ctl --version pg_ctl (PostgreSQL) 8.1.3 ~ $ /opt/local/lib/pgsql8/bin/pg_ctl --version pg_ctl (PostgreSQL) 8.1.3 pgdata/global/pg_control seems to be binary. pgdata/PG_VERSION has 8.1 in it. > > Is there some way to specify HAVE_INT64_TIMESTAMP > to > > pg_ctl or just export what's in the existing > pgdata > > and initdb a new dir and import? > > You need to have the server running to export. :) > > I'm pretty sure you can get it running; you just > haven't tried the > right way yet. I'm stymied. ;) Thanks, csn > > -Doug > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com