Re: Parser - keyword cathegory - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Parser - keyword cathegory
Date
Msg-id 493F6AEB.9030506@enterprisedb.com
Whole thread Raw
In response to Parser - keyword cathegory  ("Radek Strnad" <radek.strnad@gmail.com>)
List 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


pgsql-hackers by date:

Previous
From: Euler Taveira de Oliveira
Date:
Subject: Re: Parser - keyword cathegory
Next
From: ITAGAKI Takahiro
Date:
Subject: Re: posix_fadvise v22