Re: proposal: regrole type?

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2012-12-25T18:22:54Z
Lists: pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.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