Re: 9.0: plpgsql eror when restoring a database as a non superuser

From: stefan <stefan(at)therp(dot)nl>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: 9.0: plpgsql eror when restoring a database as a non superuser
Date: 2011-10-22 19:06:25
Message-ID: j7v47i$e7e$1@dough.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>> Therefore the only solution I see is to drop plpgsql from template1, or
>> writing a wrapper script that exploits the -l and -L options of pg_restore.
>
> Yes. Though I could see an option to create a template database without plpgsql
> in it for use by non-superuser users and leave template1 as is.
>

Adrian,

Thanks for suggesting that. I had not thought about that option and it
may just be the best.

Cheers,
Stefan.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message stefan 2011-10-22 19:09:59 Re: 9.0: plpgsql eror when restoring a database as a non superuser
Previous Message Greg Sabino Mullane 2011-10-22 17:39:58 Re: Are file system level differential/incremental backups possible?