Re: Restoring 7.3.x Data on 7.2.x Database

Поиск
Список
Период
Сортировка
От Scott W. Hill
Тема Re: Restoring 7.3.x Data on 7.2.x Database
Дата
Msg-id 1052338592.3eb969a0572a6@www.kattare.com
обсуждение исходный текст
Ответ на Re: Restoring 7.3.x Data on 7.2.x Database  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-general
Thanks! The -D option was just the trick. I wasn't able to use the other
suggestion to use sed to strip the newlines, since the newlines were valid
data in this case.

--Scott


Quoting Stephan Szabo <sszabo@megazone23.bigpanda.com>:

> On Wed, 7 May 2003, Scott W. Hill wrote:
>
> > I'm having trouble getting my data, which does have embedded newlines,
to
> > go from a 7.3.2 PostgreSQL setup to a 7.2.3. I'm using a service
> provider's
> > database, so upgrading on my timeline isn't an option. The embedded
> > newlines seem to choke the restore process on 7.2.x, although restoring
> the
> > same data to another 7.3.2 database is no problem. Help! :)
>
> How are you doing the dumps?  You might want to try with -d (or -D) to
get
> insert statements rather than copy.  It's (alot) slower on restore, but
it
> might handle the restore better.
>


В списке pgsql-general по дате отправления:

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: PostgreSQL Qs
Следующее
От: Karsten Hilbert
Дата:
Сообщение: Re: PostgreSQL Qs