From: kumar <sgnerd@yahoo.com.sg>
To: pgsql <pgsql-sql@postgresql.org>
Subject: Grant permission to all objects of user A to user B
Date: Thu, 15 Apr 2004 12:28:06 +0530
Message-ID: <017d01c422b7$0220cc80$7502a8c0@hdsc.com> (raw)
Dear Friends,
Postgres 7.3.2.
I have an database with owner USRA who owns about 300 objects (tables and functions). Now I want to give 'ALL' permission to all the objects of USRA to another database user USRB.
If I use the grant i need to type all the objects as comma separated, like the following
booktown=# GRANT ALL ON customers, books, editions, publishers
booktown-# TO manager;
CHANGEIs there any other way do it.ThanksKumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: sgnerd@yahoo.com.sg
Subject: Re: Grant permission to all objects of user A to user B
In-Reply-To: <017d01c422b7$0220cc80$7502a8c0@hdsc.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox