From: Jarmo Järvenpää <Jarmo.Jarvenpaa@softers.net>
To: pgsql-admin@postgresql.org
Subject: Upgrading 7.2.4 to 7.4.1
Date: Mon, 16 Feb 2004 14:59:26 +0200
Message-ID: <4030BEAE.8060108@softers.net> (raw)
Dear all,
I've got an old 7.2.4 DB which I hoped to upgrade to 7.4.1.
The old syntax used for creating tables had lines like
..
id integer DEFAULT '',
which translates to this error:
pg_restore: [archiver (db)] could not execute query: ERROR: invalid
input syntax for integer: ""
I found out that integer with '' as default is not acceptable after 7.3.
Also, some complaints were given with the data, particulary numerous
"\N" lines when restoring (this can be worked out by using -d switch
when dumping).
Also, schemas are not going to be created (some 7.3 documents gave this up).
Thus, must I update every DB creation script by hand and try to restore
only the data?
Regards,
Jarmo
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: Jarmo.Jarvenpaa@softers.net
Subject: Re: Upgrading 7.2.4 to 7.4.1
In-Reply-To: <4030BEAE.8060108@softers.net>
References: <4030BEAE.8060108@softers.net>
* 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