Re: normal user dump gives error because of plpgsql

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: normal user dump gives error because of plpgsql
Дата
Msg-id 20050310124412.GC23460@svana.org
обсуждение исходный текст
Ответ на normal user dump gives error because of plpgsql  (Janning Vygen <vygen@gmx.de>)
Ответы Re: normal user dump gives error because of plpgsql  (John Sidney-Woollett <johnsw@wardbrook.com>)
Список pgsql-general
On Thu, Mar 10, 2005 at 01:31:26PM +0100, Janning Vygen wrote:
> Hi,
>
> i have a normal user with rights to create a db. template1 contains language
> plpgsql. the user wants to
> - dump his db
> - drop his db
> - create it again
> - and use the dump file to fill it.
>
> it gives errors because of CREATE LANGUAGE statements inside the dump.

I don't beleive there is. But it's not really needed, you get and error
and the restore continues. The only thing different is that you don't
get a message, the result is the same.
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

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

Предыдущее
От: Miroslav Šulc
Дата:
Сообщение: Re: Locale problem
Следующее
От: "Sim Zacks"
Дата:
Сообщение: Re: pl sql to check if table of table_name exists