Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> Can we implement REGROLE type, that simplify role name <-> oid transformations?
Why? It's not any more complicated than it is for the other object
types that lack REGxxx pseudotypes. Generally speaking, we've only
bothered with pseudotypes for the cases where lookup is not trivial,
eg because there are search path considerations.
regards, tom lane