Re: Change owner of all database objects - Mailing list pgsql-general

From Richard Huxton
Subject Re: Change owner of all database objects
Date
Msg-id 43CE0420.1020102@archonet.com
Whole thread Raw
In response to Change owner of all database objects  ("Andrus" <eetasoft@online.ee>)
Responses Re: Change owner of all database objects
List pgsql-general
Andrus wrote:
> Currently all my database objects are owned by superuser postgres .
>
> I need to change owner to a nonprivileged role for all objects in a
> database.
>
> I'm using Postgres 8.1 server and client in Windows XP, only plpSQL language
> installed in server.

Search the mailing list archives. I seem to remember solutions involving
shell and perl (and you could install perl if you wanted) but I think
also something in plpgsql.

--
   Richard Huxton
   Archonet Ltd

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Modify the password of the service account?
Next
From: Richard Huxton
Date:
Subject: Re: Partitioning: Planner makes no use of indexes on inherited