Neil Conway <neilc(at)samurai(dot)com> writes:
> The only trickiness was allowing "UNKNOWN" to be specified in the list
> of type names in the PREPARE statement. Since UNKNOWN was previously an
> unreserved_keyword, this caused reduce/reduce conflicts:
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.
regards, tom lane