Re: Scan SQL

From: Josh Jore <josh(at)greentechnologist(dot)org>
To:
Cc: Sandro Joel Eller <sandro(at)tecsoft(dot)com(dot)br>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Scan SQL
Date: 2002-07-23 22:18:25
Message-ID: Pine.BSO.4.44.0207231717450.23685-100000@kitten.greentechnologist.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 2002-07-23 23:44:12 Re: FATAL 1
Previous Message Bruce Momjian 2002-07-23 22:10:17 Re: 7.3 features and enhancements