editing file after pg_dump - Mailing list pgsql-general

From Kevin Heflin
Subject editing file after pg_dump
Date
Msg-id Pine.LNX.4.04.9903181324270.31546-100000@mercury.shreve.net
Whole thread Raw
List pgsql-general
I've run pg_dump on a database, which I've done many times before, to
backup and then restore databases.

However, this time before I restore the database, I'm wanting to edit one
of the datatypes before I restore the data. As soon as I open up the file
then save it, regardless of actually making any changes.. the restore will
fail whenever it gets to the point of inserting the data.

I'm guessing it's choking because whatever text editor I'm using is hosing
the fields with long entries... I've tried opening the file with vi, pico,
and Homesite on a WindowsNT box..

Any suggestions on how to get around this?


Kevin




--------------------------------------------------------------------
Kevin Heflin          | ShreveNet, Inc.      | Ph:318.222.2638 x103
VP/Mac Tech           | 333 Texas St #619    | FAX:318.221.6612
kheflin@shreve.net    | Shreveport, LA 71101 | http://www.shreve.net
--------------------------------------------------------------------


pgsql-general by date:

Previous
From: "Jonathan A. Zdziarski"
Date:
Subject: Changing Field Types
Next
From: Tim Stoddard
Date:
Subject: Vacuum