Re: Scan SQL - Mailing list pgsql-sql

From Josh Jore
Subject Re: Scan SQL
Date
Msg-id Pine.BSO.4.44.0207231717450.23685-100000@kitten.greentechnologist.org
Whole thread Raw
In response to Re: Scan SQL  (Roberto Mello <rmello@cc.usu.edu>)
List pgsql-sql
On Tue, 23 Jul 2002, Roberto Mello wrote:

> On Tue, Jul 23, 2002 at 10:11:18AM -0300, Sandro Joel Eller wrote:
> > Hi
> >
> > I need to make a parser in a sql to get tables and fields to verify the
> > privileges. Do anybody know software, function or anything that can help me?
> >
> > I found software to create a compiler and generate the source in delphi, but I
> > need a sql specification (BNF, EBNF) and I do not know where to find it.
>
> You could look at how PostgreSQL does its parsing. The source code is
> open.
>
> -Roberto

Check out src/backend/parser/*.y for full YACC grammars.

Joshua b. Jore ; http://www.greentechnologist.org



pgsql-sql by date:

Previous
From: "Josh Berkus"
Date:
Subject: Re: Misunderstanding about your article entitled: Episode 2:
Next
From: Bruce Momjian
Date:
Subject: Re: 7.3 features and enhancements