Re: pg_restore new option -m

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: pg_restore new option -m
Дата
Msg-id 499E1C4A.8070601@dunslane.net
обсуждение исходный текст
Ответ на Re: pg_restore new option -m  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pg_restore new option -m
Список pgsql-hackers

Tom Lane wrote:
> ohp@pyrenet.fr writes:
>   
>> pg_restore -C -m 4 -d template1 db.dmp
>> gives numerous errors, mostly no such relation at index creation time.
>>     
>
> You sure you don't get exactly the same without -m?
>   



Yeah, I have reproduced this. It's because we reconnect to the wrong db 
in this case (i.e. to the -d database, not the created one) in the 
workers and subsequent connects.

I've applied a trivial patch to fix it.

cheers

andrew





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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: ORDER BY with EXCEPT?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: GIN fast insert