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,
Pennsylvania19073