Re: changing the permission of _lots_ of tables

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: changing the permission of _lots_ of tables
Дата
Msg-id 20061213081529.GA16687@a-kretschmer.de
обсуждение исходный текст
Ответ на Re: changing the permission of _lots_ of tables  (Richard Huxton <dev@archonet.com>)
Ответы Re: changing the permission of _lots_ of tables  ("Roderick A. Anderson" <raanders@acm.org>)
Список pgsql-general
am  Wed, dem 13.12.2006, um  7:55:48 +0000 mailte Richard Huxton folgendes:
> Roderick A. Anderson wrote:
> >Works great ... up to a point.  I now need to change the users and
> >owners associated with all the tables without changing their permissions.
> >
> >Is there a way or hack to do mass changes like these.
>
> Write a small plpgsql function to take a pattern and set permissions
> based on that. A quick bit of googling should find some examples for you.

Perhaps this one:
http://people.planetpostgresql.org/greg/index.php?/archives/38-Scripting-with-psql.html


Regards, Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47215,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

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

Предыдущее
От: DANTE Alexandra
Дата:
Сообщение: Re: PostgreSQL 8.2 : IPO link warning with ICC 9.1.045
Следующее
От: DANTE Alexandra
Дата:
Сообщение: PostgreSQL 8.2 : warnings during the built with ICC 9.1.045