pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
SQL parser
6+ messages / 6 participants
[nested] [flat]

* SQL parser
@ 1999-01-28 23:18  Antonio Badia <abadia@godel.uark.edu>
  0 siblings, 0 replies; 6+ messages in thread

From: Antonio Badia @ 1999-01-28 23:18 UTC (permalink / raw)
  To: pgsql-sql

Hello there,
 I'm looking for a (free, shareware) SQL parser and I haven't had much
luck. I was wandering whether it's feasible to get postgresql and
"separate" the parser from the rest of the code and use it
stand-alone. Any experience, suggestions or comments, please e-mail
them to: abadia@godel.uark.edu. I don't follow this mailing list.
 Thanks in advance for your help,
Antonio Badia
Computer Science and Computer Engineering
University of Arkansas

P.S. If anyone can think of an easier way to get an SQL parser, I'd love
to hear it.



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* sql parser
@ 1999-09-28 03:09  Kannan Ramaswamy <rkannan@home.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Kannan Ramaswamy @ 1999-09-28 03:09 UTC (permalink / raw)
  To: pgsql-sql

hi,
i need to use a sql parser in an application.
has anyone used just the sql parsing code from pgsql.
is it possible. any idea on how much effort is needed.

--Kannan.



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* SQL Parser
@ 2003-05-14 14:50  Fabio Rollo <f.rollo@unisannio.it>
  0 siblings, 3 replies; 6+ messages in thread

From: Fabio Rollo @ 2003-05-14 14:50 UTC (permalink / raw)
  To: pgsql-sql

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







^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: SQL Parser
@ 2003-05-15 16:21  Josh Berkus <josh@agliodbs.com>
  parent: Fabio Rollo <f.rollo@unisannio.it>
  2 siblings, 0 replies; 6+ messages in thread

From: Josh Berkus @ 2003-05-15 16:21 UTC (permalink / raw)
  To: f.rollo@unisannio.it; pgsql-sql

Fabio,

> 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?

I suggest that you download the source code and take a look at it.  Guides to 
the source should be available at:
http://developer.postgresql.org

You may also wish to consider the SQLite project, which may be more of what 
you want.  Look it up on www.freshmeat.net.

-- 
Josh Berkus
Aglio Database Solutions
San Francisco



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: SQL Parser
@ 2003-05-15 16:33  Bruce Momjian <pgman@candle.pha.pa.us>
  parent: Fabio Rollo <f.rollo@unisannio.it>
  2 siblings, 0 replies; 6+ messages in thread

From: Bruce Momjian @ 2003-05-15 16:33 UTC (permalink / raw)
  To: f.rollo@unisannio.it; +Cc: pgsql-sql


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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: SQL Parser
@ 2003-05-15 18:10  Alvar Freude <alvar@a-blast.org>
  parent: Fabio Rollo <f.rollo@unisannio.it>
  2 siblings, 0 replies; 6+ messages in thread

From: Alvar Freude @ 2003-05-15 18:10 UTC (permalink / raw)
  To: f.rollo@unisannio.it; pgsql-sql



-- Fabio Rollo <f.rollo@unisannio.it> wrote:

> I'm looking for a (free, shareware) SQL parser. 

Here is a SQL parser, with GPL or Artistic License:

http://theoryx5.uwinnipeg.ca/CPAN/data/SQL-Statement/SQL/Statement.html


You can also find more SQL stuff in Perl on CPAN:

http://theoryx5.uwinnipeg.ca/CPAN/data/


Ciao
  Alvar

-- 
http://censorship.odem.org/





^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2003-05-15 18:10 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-01-28 23:18 SQL parser Antonio Badia <abadia@godel.uark.edu>
1999-09-28 03:09 sql parser Kannan Ramaswamy <rkannan@home.com>
2003-05-14 14:50 SQL Parser Fabio Rollo <f.rollo@unisannio.it>
2003-05-15 16:21 ` Re: SQL Parser Josh Berkus <josh@agliodbs.com>
2003-05-15 16:33 ` Re: SQL Parser Bruce Momjian <pgman@candle.pha.pa.us>
2003-05-15 18:10 ` Re: SQL Parser Alvar Freude <alvar@a-blast.org>

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