=> select distinct catcode, catdesc from pg_get_keywords(); catcode | catdesc
---------+----------------------- C | Column name T | Type or function name R | Reserved U |
Unreserved
I find the descriptions of C and T quite confusing. For example, saying
that "authorization" is a "type or function name" (T) is somewhat bogus.
In
http://developer.postgresql.org/pgdocs/postgres/sql-keywords-appendix.html,
the terms
C = non-reserved (cannot be function or type)
T = reserved (can be function or type)
are used. Should we use these here as well (possibly adding "name")?