pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedinitdb creates a wrong-version database
2+ messages / 2 participants
[nested] [flat]
* initdb creates a wrong-version database
@ 2006-03-17 22:20 Anton J. Garnik <valinor@irfc.ru>
2006-03-19 12:48 ` Re: initdb creates a wrong-version database Guido Barosio <gbarosio@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Anton J. Garnik @ 2006-03-17 22:20 UTC (permalink / raw)
To: pgsql-admin
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: initdb creates a wrong-version database
2006-03-17 22:20 initdb creates a wrong-version database Anton J. Garnik <valinor@irfc.ru>
@ 2006-03-19 12:48 ` Guido Barosio <gbarosio@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Guido Barosio @ 2006-03-19 12:48 UTC (permalink / raw)
To: Anton J. Garnik <valinor@irfc.ru>; +Cc: pgsql-admin
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
-----------------------
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-03-19 12:48 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-03-17 22:20 initdb creates a wrong-version database Anton J. Garnik <valinor@irfc.ru>
2006-03-19 12:48 ` Guido Barosio <gbarosio@gmail.com>
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