From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dronamraju Rajesh <drajesh80@yahoo.com>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] pg_atoi: error in "template1": can't parse "template1"
Date: Thu, 26 Oct 2000 11:00:24 -0400
Message-ID: <5652.972572424@sss.pgh.pa.us> (raw)
In-Reply-To: <20001026121747.24312.qmail@web9610.mail.yahoo.com>
References: <20001026121747.24312.qmail@web9610.mail.yahoo.com>
Dronamraju Rajesh <drajesh80@yahoo.com> writes:
> I have installed postgres 6.5.1 on my RedHat Linux
> box. The installation went smooth without any
> problems. Now when i run initdb I got errors.
> Adding template1 database to pg_database...
> ERROR: pg_atoi: error in "template1": can't parse
> "template1"
Hm. I think the most likely cause is that you are using library files
(global.bki etc) that are not for the same version of Postgres as your
executable is. The error message looks like there is some confusion
about which column is which in pg_database, which is quite possible if
the executable and .bki files don't match.
In any case, it's a little bit silly to be installing 6.5.1 today.
I'd suggest removing all trace of Postgres from your machine and then
making a fresh installation of Postgres 7.0.2 (or wait a couple days
for 7.0.3).
regards, tom lane
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, drajesh80@yahoo.com, pgsql-admin@postgresql.org
Subject: Re: [SQL] pg_atoi: error in "template1": can't parse "template1"
In-Reply-To: <5652.972572424@sss.pgh.pa.us>
References: <20001026121747.24312.qmail@web9610.mail.yahoo.com> <5652.972572424@sss.pgh.pa.us>
* 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