Re: Generating GRANT/REVOKE on functions from catalog

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Generating GRANT/REVOKE on functions from catalog
Дата
Msg-id 23623.1249426743@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Generating GRANT/REVOKE on functions from catalog  (Doug Gorley <doug.gorley@gmail.com>)
Ответы Re: Generating GRANT/REVOKE on functions from catalog
Список pgsql-general
Doug Gorley <doug.gorley@gmail.com> writes:
> That looks like exactly what I want.  Is there an easy way to cast that
> to a string so that I can concatenate it into a GRANT statement?

Well, since 8.3 you just cast it to a string ;-)

In older versions I'd suggest a plpgsql wrapper function.  plpgsql has
always been very lax about letting you assign anything to anything,
so you can cast by assignment.

            regards, tom lane

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

Предыдущее
От: Paul Taylor
Дата:
Сообщение: Re: Does derby have an embedded Mode like Derby ?
Следующее
От: Eugen Dueck
Дата:
Сообщение: LISTEN ON table WHERE attr1 LIKE '%abc%';