Re: CREATE CAST code review

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CREATE CAST code review
Дата
Msg-id 29886.1027368382@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CREATE CAST code review  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: CREATE CAST code review  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> That doesn't quite work, because then no ordinary user can define a cast
> from some built-in type to his own type.  What I'm thinking about is to
> implement the USAGE privilege on types, and then you need to have that to
> be allowed to create casts.

Still seems too weak.  What about requiring ownership of at least one
of the types?

> I'm not sure about the implications of associating objects with schemas in
> pg_dump.  I suppose there might be an option to dump only certain schemas,

That is the intention (it's not implemented yet).
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: CREATE CAST code review
Следующее
От: nconway@klamath.dyndns.org (Neil Conway)
Дата:
Сообщение: Re: [PATCHES] prepareable statements