Re: change owner to all object in a schema - Mailing list pgsql-general

From Andreas Kretschmer
Subject Re: change owner to all object in a schema
Date
Msg-id 20071221124224.GA6943@KanotixBox
Whole thread Raw
In response to change owner to all object in a schema  ("Nicola Benaglia" <nico.benaz@gmail.com>)
Responses Re: change owner to all object in a schema
List pgsql-general
Nicola Benaglia <nico.benaz@gmail.com> schrieb:

> Hi!
> I searched a lot on the net, but I haven't found a quick way to change
> owner to all  objects in a schema.
> Could you please suggest me a tool or an existing script to do that ?

There are any scripts, for instance:


13:38 < akretschmer> ??grantall
13:38 < rtfm_please> For information about grantall
13:38 < rtfm_please> see http://pgedit.com/public/sql/acl_admin/index.html
13:38 < rtfm_please> or http://unf.be/postgresql/postgres_grant_all.perl
13:38 < rtfm_please> or http://www.archonet.com/pgdocs/grant-all.html

(answer from the nice doc-bot on our irc-channel)


Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."    (unknow)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

pgsql-general by date:

Previous
From: Greg Smith
Date:
Subject: Re: Machine spec 64-bit/32 GB RAM
Next
From: "Peter Childs"
Date:
Subject: Re: Conditional updateable view