pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roberto Mello <rmello@cc.usu.edu>
To: Sandro Joel Eller <sandro@tecsoft.com.br>
Cc: pgsql-sql@postgresql.org
Subject: Re: Scan SQL
Date: Tue, 23 Jul 2002 11:36:28 -0600
Message-ID: <20020723173628.GA532@cc.usu.edu> (raw)
In-Reply-To: <1027429878.3d3d55f69c415@webmail.tecsoft.com.br>
References: <1027429878.3d3d55f69c415@webmail.tecsoft.com.br>

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

-- 
+----| http://fslc.usu.edu/ USU Free Software & GNU/Linux Club |------+
  Roberto Mello - Computer Science, USU - http://www.brasileiro.net/ 
       http://www.sdl.usu.edu/ - Space Dynamics Lab, Developer    
I to¤d yo¤, "Never¤touch ¤he flo¤py di¤k su¤face!"



view thread (5+ messages)  latest in thread

Message-ID: <20020723173628.GA532@cc.usu.edu>
Permalink:  ../20020723173628.GA532@cc.usu.edu/
Also on:    postgresql.org/message-id/20020723173628.GA532@cc.usu.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: rmello@cc.usu.edu, sandro@tecsoft.com.br
  Subject: Re: Scan SQL
  In-Reply-To: <20020723173628.GA532@cc.usu.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox