pg_get_keywords descriptions

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: pg_get_keywords descriptions
Date: 2008-12-03 12:49:15
Message-ID: 4936804B.4000200@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

=> 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")?

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2008-12-03 12:52:32 Re: snapshot leak and core dump with serializable transactions
Previous Message Fujii Masao 2008-12-03 12:37:36 Re: Sync Rep: First Thoughts on Code