pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Douglas McNaught <doug@mcnaught.org>
To: CSN <cool_screen_name90001@yahoo.com>
Cc: pgsql-general@postgresql.org
Subject: Re: database files are incompatible with server, after
Date: Tue, 29 Aug 2006 17:54:52 -0400
Message-ID: <871wqz8axf.fsf@suzuka.mcnaught.org> (raw)
In-Reply-To: <20060829211525.231.qmail@web52901.mail.yahoo.com>
References: <20060829211525.231.qmail@web52901.mail.yahoo.com>

CSN <cool_screen_name90001@yahoo.com> 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? 

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

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

-Doug



view thread (18+ messages)  latest in thread

Message-ID: <871wqz8axf.fsf@suzuka.mcnaught.org>
Permalink:  ../871wqz8axf.fsf@suzuka.mcnaught.org/
Also on:    postgresql.org/message-id/871wqz8axf.fsf@suzuka.mcnaught.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: doug@mcnaught.org, cool_screen_name90001@yahoo.com
  Subject: Re: database files are incompatible with server, after
  In-Reply-To: <871wqz8axf.fsf@suzuka.mcnaught.org>
  References: <20060829211525.231.qmail@web52901.mail.yahoo.com> <871wqz8axf.fsf@suzuka.mcnaught.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox