Re: Field name problem

From: Tim Landscheidt <tim(at)tim-landscheidt(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Field name problem
Date: 2009-07-28 23:25:04
Message-ID: m3ocr475m7.fsf@passepartout.tim-landscheidt.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alan Chandler <alan(at)chandlerfamily(dot)org(dot)uk> wrote:

> [...]
> So I tried to load the same database on my home machine
> using pg_restore. This runs version 8.4.0, and it failed
> loading the restore with and error at this field "over"
> because, I presume, its a reserved word in SQL.

> Is there anyway, I can access any of my other backups and
> load the data in a current database?

a) Install an old PostgreSQL server, restore to it, change
the attribute name, dump from it, restore to a new ser-
ver.
b) Restore the backup to an SQL file, load it into a suit-
able editor, change (very carefully) "over" to the new
attribute name and restore that file to a new server.

Tim

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Fetter 2009-07-29 00:10:28 Re: Video available for PGDay SJC '09
Previous Message Greg Stark 2009-07-28 23:15:22 Re: Video available for PGDay SJC '09