Re: [HACKERS] How to...?

Maarten Boekhold <maartenb@dutepp2.et.tudelft.nl>

From: Maarten Boekhold <maartenb@dutepp2.et.tudelft.nl>
To: The Hermit Hacker <scrappy@hub.org>
Cc: Andrew Martin <martin@biochemistry.ucl.ac.uk>, pgsql-hackers@postgreSQL.org
Date: 1998-03-09T15:47:10Z
Lists: 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                         |
-----------------------------------------------------------------------------