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