From: Guido Barosio <gbarosio@gmail.com>
To: Anton J. Garnik <valinor@irfc.ru>
Cc: pgsql-admin@postgresql.org
Subject: Re: initdb creates a wrong-version database
Date: Sun, 19 Mar 2006 12:48:34 +0000
Message-ID: <f7f6b4c70603190448s7fdbfa71j9848c8c8e4362940@mail.gmail.com> (raw)
In-Reply-To: <239932927.20060318032058@irfc.ru>
References: <239932927.20060318032058@irfc.ru>
Hi Anton,
I guess that you are trying to initdb a location that was
previously initdb'ed with the older version. Check if your $PGDATA
contains information, and if you, consider to rename it or created a
new $PGDATA to initdb.
Regards,
Guido.
On 3/17/06, Anton J. Garnik <valinor@irfc.ru> wrote:
> Hello pgsql-admin,
>
> I have installed PostgreSQL 8.1.3 on Trustix Secure Linux
> When I have created the initial database with initdb
> and run postmaster, it says:
> ---------------------------
> An old version of the database format was found.\nYou need to upgrade the data format before using P
> ostgreSQL.\nSee /usr/share/postgresql-package/README.rpm.dist for more information.
> ---------------------------
>
> What is wrong? In the README I found no information about how to
> convert database format, just about migration data
>
> There was postgresql 7.4 libs in my /usr/lib directory (it is needed by
> php4), but no conflicts with names.
>
> --
> Best regards,
> Anton mailto:valinor@irfc.ru
>
> Ekaterinburg, Russia
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend
>
--
Guido Barosio
-----------------------
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-admin@postgresql.org
Cc: gbarosio@gmail.com, valinor@irfc.ru
Subject: Re: initdb creates a wrong-version database
In-Reply-To: <f7f6b4c70603190448s7fdbfa71j9848c8c8e4362940@mail.gmail.com>
References: <239932927.20060318032058@irfc.ru> <f7f6b4c70603190448s7fdbfa71j9848c8c8e4362940@mail.gmail.com>
* 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