Re: Parser - keyword cathegory

From: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
To: Radek Strnad <radek(dot)strnad(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Parser - keyword cathegory
Date: 2008-12-10 07:08:27
Message-ID: 493F6AEB.9030506@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Radek Strnad wrote:
> I'm writing my bachelor thesis and I can't find anywhere what exactly means
> the third parameter in ScanKeyword in pgsql/src/backend/parser/keywords.c -
> specificly UNRESERVED_KEYWORD, RESERVED_KEYWORD, TYPE_FUNC_NAME_KEYWORD,
> COL_NAME_KEYWORD. Could someone explain it to me? Thank you

It indicates in what contexts the keyword acts as a reserved keyword, in
other words can't be used as a name for an object without quoting. See
the corresponding rules in gram.y.

--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message ITAGAKI Takahiro 2008-12-10 09:22:56 Re: posix_fadvise v22
Previous Message Euler Taveira de Oliveira 2008-12-10 05:57:05 Re: Parser - keyword cathegory