X-Original-To: pgsql-sql@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B8BD84768A9 for ; Thu, 15 May 2003 13:57:38 -0400 (EDT) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with ESMTP id 60647-10 for ; Thu, 15 May 2003 13:57:06 -0400 (EDT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by postgresql.org (Postfix) with ESMTP id D233847693E for ; Thu, 15 May 2003 12:33:56 -0400 (EDT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id h4FGXol07139; Thu, 15 May 2003 12:33:50 -0400 (EDT) From: Bruce Momjian Message-Id: <200305151633.h4FGXol07139@candle.pha.pa.us> Subject: Re: SQL Parser In-Reply-To: <3EC257C0.3030406@unisannio.it> To: f.rollo@unisannio.it Date: Thu, 15 May 2003 12:33:50 -0400 (EDT) Cc: pgsql-sql@postgresql.org X-Mailer: ELM [version 2.4ME+ PL99 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/326 X-Sequence-Number: 13491 Well, download the source and look in /src/backend/parser/gram.y. It does use a lot of other routines to do the job, though. --------------------------------------------------------------------------- Fabio Rollo wrote: > Hi > I'm looking for a (free, shareware) SQL parser. > Is it (an how is it )feasible to get postgresql and > "separate" the parser from the rest of the code and use it > stand-alone? > If you have suggestions, please e-mail me: f.rollo@unisannio.it . > Thanks in advance. > > > Fabio Rollo > University of Sannio - Italy > e-mail: f.rollo@unisannio.it > > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073