Re: Keywords

From: "vyang" <vyang(at)apt-cafm(dot)com>
To: "Dmitriy Igrishin" <dmitigr(at)gmail(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Keywords
Date: 2012-01-11 17:26:38
Message-ID: 662DE615139F456BBFE519B489F9FBFA@vyang
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

That works perfectly. Thanks!!

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

Hey vyang,

2012/1/11 vyang <vyang(at)apt-cafm(dot)com>

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

Use pg_get_keywords().
http://www.postgresql.org/docs/9.1/static/functions-info.html

--
// Dmitriy.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matt Dew 2012-01-11 17:42:54 indexes no longer used after shutdown during reindexing
Previous Message vyang 2012-01-11 17:25:04 Re: Keywords