Received: from brasileiro.net (slxwy.dorms.usu.edu [129.123.236.160]) by postgresql.org (Postfix) with ESMTP id 552B7475910 for ; Tue, 23 Jul 2002 13:35:56 -0400 (EDT) Received: from roberto by brasileiro.net with local (Exim 3.35 #1 (Debian)) id 17X3aG-0000Ec-00; Tue, 23 Jul 2002 11:36:28 -0600 Date: Tue, 23 Jul 2002 11:36:28 -0600 From: Roberto Mello To: Sandro Joel Eller Cc: pgsql-sql@postgresql.org Subject: Re: Scan SQL Message-ID: <20020723173628.GA532@cc.usu.edu> References: <1027429878.3d3d55f69c415@webmail.tecsoft.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1027429878.3d3d55f69c415@webmail.tecsoft.com.br> User-Agent: Mutt/1.3.28i X-message-flag: Please consider using an e-mail program other than Outlook. It's insecure. X-Archive-Number: 200207/357 X-Sequence-Number: 8735 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!"