editing file after pg_dump

Поиск
Список
Период
Сортировка
От Kevin Heflin
Тема editing file after pg_dump
Дата
Msg-id Pine.LNX.4.04.9903181324270.31546-100000@mercury.shreve.net
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "Jonathan A. Zdziarski"
Дата:
Сообщение: Changing Field Types
Следующее
От: Tim Stoddard
Дата:
Сообщение: Vacuum