Re: Cannot restore dump when using IS DISTINCT FROM on a HSTORE column

Поиск
Список
Период
Сортировка
От Lele Gaifax
Тема Re: Cannot restore dump when using IS DISTINCT FROM on a HSTORE column
Дата
Msg-id 87sgpa4sr8.fsf@metapensiero.it
обсуждение исходный текст
Ответ на Cannot restore dump when using IS DISTINCT FROM on a HSTORE column  (Lele Gaifax <lele@metapensiero.it>)
Список pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:

> If you have the dump in a text file you could just edit it and remove
> that line (it's only about a dozen lines in, typically).  Otherwise
> you could delete it with sed or the like, roughly
>
> pg_restore dumpfile | sed s'/^SELECT pg_catalog.set_config('search_path', '', false);//' | psql targetdb

Great, I can easily do that! I missed the "rewrite-dump-as-sql-script"
functionality of pg_restore.

Thanks a lot, also to Adrian!

bye, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it  |                 -- Fortunato Depero, 1929.




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

Предыдущее
От: Moreno Andreo
Дата:
Сообщение: Re: Rebuild pg_toast from scratch?
Следующее
От: "Lu, Dan"
Дата:
Сообщение: RE: postgresql: Help with hstore hextension