David <stormbyte(at)gmail(dot)com> writes:
> Isn't it inconsistent that a thing like: "someField"SMALLINT works
> whether a thing like: "someField""SomeCustomType" is not working?
Well, you can debate how consistent it is, but that behavior is required
by SQL standard. Per spec, "foo""bar" is a single identifier containing
an embedded double quote (just one). It's not two adjacent tokens,
whereas "foo"keyword does represent two tokens.
regards, tom lane