Re: [HACKERS] Accurate list of Keywords / Datatypes?

2016-05-10 Thread Robins Tharakan
On 8 May 2016 at 07:38, Euler Taveira wrote: > src/include/parser/kwlist.h ​Thanks Everyone. Kwlist.h got me going as to where to look, but I had to improvise (quite) a bit. Any and all advice about any other authoritative lists (like kwlist.h) would be a big help, since

Re: [HACKERS] Accurate list of Keywords / Datatypes?

2016-05-10 Thread Euler Taveira
On 10-05-2016 22:22, David G. Johnston wrote: > I don't know how the docs, this function, and the source code relate to > each other. > Function is built around ScanKeywords structure which in turn is built using parser/kwlist.h. -- Euler Taveira Timbira -

Re: [HACKERS] Accurate list of Keywords / Datatypes?

2016-05-10 Thread Michael Paquier
On Wed, May 11, 2016 at 10:22 AM, David G. Johnston wrote: > On Saturday, May 7, 2016, Euler Taveira wrote: >> >> On 07-05-2016 22:53, Robins Tharakan wrote: >> > Should I be looking somewhere else? Parse keywords from Git Source file >> > (if so

Re: [HACKERS] Accurate list of Keywords / Datatypes?

2016-05-10 Thread David G. Johnston
On Saturday, May 7, 2016, Euler Taveira wrote: > On 07-05-2016 22:53, Robins Tharakan wrote: > > Should I be looking somewhere else? Parse keywords from Git Source file > > (if so where)? Parse PG Documentation? > > > src/include/parser/kwlist.h >

Re: [HACKERS] Accurate list of Keywords / Datatypes?

2016-05-07 Thread Euler Taveira
On 07-05-2016 22:53, Robins Tharakan wrote: > Should I be looking somewhere else? Parse keywords from Git Source file > (if so where)? Parse PG Documentation? > src/include/parser/kwlist.h -- Euler Taveira Timbira - http://www.timbira.com.br/ PostgreSQL: Consultoria,

[HACKERS] Accurate list of Keywords / Datatypes?

2016-05-07 Thread Robins Tharakan
Hi, While creating a Syntax Highlighting XML for Notepad++ (something like a PLSQL one here http://goo.gl/UBbHdt ), I was looking for a list of Keywords (& separately list of Datatypes) that Postgres uses in a given version (Say DEVEL branch). I did find the Reserved Keyword list (