Re: [HACKERS] How to...? - Mailing list pgsql-hackers

From Maarten Boekhold
Subject Re: [HACKERS] How to...?
Date
Msg-id Pine.SUN.3.91.980309164636.21544C-100000@dutepp2.et.tudelft.nl
Whole thread Raw
In response to Re: [HACKERS] How to...?  (The Hermit Hacker <scrappy@hub.org>)
Responses Re: [HACKERS] How to...?
Re: [HACKERS] How to...?
List pgsql-hackers
On Mon, 9 Mar 1998, The Hermit Hacker wrote:

> On Mon, 9 Mar 1998, Andrew Martin wrote:
>
> > >     Then, using what was left, I did:
> > >
> > > psql -e < db.dump
> > >
> > >     Again.  Failed misearbly, with the following coming from the 'copy
> > > to <relname> from stdin;' section:
> > >
> > > 344984  johnb   xgSldZdYEgIWo           clio.trends.ca  n       \N
> >
> > I got something kind-of similar with a core dump... This was 'cos of a
> > column name which is now a reserved word.
>
>     Ack, I fear you are correct...the third field above is 'password',
> which became a reserved word in v6.3...oh man, is this upgrade ever going
> to hurt...my 'db.dump' file is 84Meg...vi just loves it :)

How about starting up your old pgsql, then psql, the 'alter table rename
column.....'

Maarten

_____________________________________________________________________________
| TU Delft, The Netherlands, Faculty of Information Technology and Systems  |
|                   Department of Electrical Engineering                    |
|           Computer Architecture and Digital Technique section             |
|                          M.Boekhold@et.tudelft.nl                         |
-----------------------------------------------------------------------------


pgsql-hackers by date:

Previous
From: "Maurice Gittens"
Date:
Subject: Re: [HACKERS] newoid in invapi.c
Next
From: Matt Aycock/IntelliQuest
Date:
Subject: Re: [HACKERS] Re: [QUESTIONS] Testing Postgresql v6.3