Re: Can you help solve restore problem?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Can you help solve restore problem?
Дата
Msg-id 1464.1101252713@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Can you help solve restore problem?  (Ennio-Sr <nasr.laili@tin.it>)
Ответы Re: Can you help solve restore problem?  (Ennio-Sr <nasr.laili@tin.it>)
Список pgsql-general
Ennio-Sr <nasr.laili@tin.it> writes:
> May I ask how to 'edit the COPY commands'? Perhaps you mean to edit the
> dump file and add "WITH NULL AS '-' " ?

Yeah.

> Mmmh, I tried to add that in the dump file (at the end of the COPY
> command) and got these errors:
> You are now connected as new user "ennio"
> SET
> ERROR: relation "dep_tit" already exists
> ERROR: relation "s_cod_rif" already exists     # this is a sequence
> ERROR: relation "gar_tit" already exists
> ERROR: syntax error at or near "Data" at charachter 4
> ERROR: syntax error at or near "Type" at charachter 2
> ERROR: syntax error at or near "Schema" at charachter 2
> ERROR: syntax error at or near "Owner" at charachter 2
> invalid comman \.
> ERROR: syntax error at or near "1" at character 1

You didn't show what you did, but this looks a bit like you messed up
the comment for the next item in the dump script.

            regards, tom lane

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

Предыдущее
От: "Gary L. Burnore"
Дата:
Сообщение: Re: Upcoming Changes to News Server ...
Следующее
От: "Gary L. Burnore"
Дата:
Сообщение: Re: Upcoming Changes to News Server ...