On Sun, 2006-01-15 at 12:17 -0500, Tom Lane wrote:
> You're doing it wrong. There is no need for any special case whatever
> in gram.y --- ordinary lookup of the type name will do fine.
Woops, good point. Attached is a revised patch that doesn't modify the
grammar, and includes updates to the documentation and regression tests.
Applied to HEAD.
-Neil