Re: Keywords

From: "vyang" <vyang(at)apt-cafm(dot)com>
To: "Adam Cornett" <adam(dot)cornett(at)gmail(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Keywords
Date: 2012-01-11 17:25:04
Message-ID: 7E5D732B878744C383DFA2A14D278144@vyang
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

From: Adam Cornett
Sent: Wednesday, January 11, 2012 11:05 AM
To: vyang
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Keywords

I want to grab it programmatically because from time to time words are added/removed.
On Wed, Jan 11, 2012 at 12:02 PM, Adam Cornett <adam(dot)cornett(at)gmail(dot)com> wrote:

On Wed, Jan 11, 2012 at 11:03 AM, vyang <vyang(at)apt-cafm(dot)com> wrote:

Hello List,

I’m wondering if there is a way to retrieve/query PostgreSQL for a list of key words matching that of Appendix C. SQL Key Words. I’m using PostgreSQL 9.1 and java. I’ve already tried java’s DatabaseMetaData.getSQLKeywords, but the API states “Retrieves a comma-separated list of all of this database's SQL keywords that are NOT also SQL:2003 keywords.” As a result many key words are left out. Any help on this matter is much appreciated.

vyang

The Manual has a list in the appendix:
http://www.postgresql.org/docs/9.1/static/sql-keywords-appendix.html

Sorry for not reading the first part of your question, you've already found the list I pointed you to.

Why can't you just save the list in Appendix C and read it in to your application?

-Adam

In response to

Browse pgsql-general by date

  From Date Subject
Next Message vyang 2012-01-11 17:26:38 Re: Keywords
Previous Message Adam Cornett 2012-01-11 17:05:36 Re: Keywords