Skip site navigation (1) Skip section navigation (2)

Re: A postgres parser related question

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Luis Ochoa <ziul1979(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: A postgres parser related question
Date: 2011-02-02 16:09:56
Message-ID: 201102021609.p12G9uP11027@momjian.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Luis Ochoa wrote:
> Hi everyone, I just want to know something about postgresql parser, because
> I want to add a new feature for pgAdmin graphical query builder (GQB) that
> allow an user to create a query graphical model from a sql statment, and I
> just want to reuse postgres parser code (reuse this) to do the task of
> create an abstract tree like structure for the sql statment.
> 
>  I just remember that read at some place that I don't remember that the
> syntax and semantic checks are done in two different stages, and as I can
> understand, then is possible to just reuse only the parser stage in an "easy
> way", but before even trying to do this task, I want some advices from
> people that know a lot more than me from postgres internals.

Read the developer's FAQ for info on understanding the Postgres source
code.

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

In response to

pgsql-hackers by date

Next:From: Heikki LinnakangasDate: 2011-02-02 16:43:59
Subject: Re: Move WAL warning
Previous:From: Heikki LinnakangasDate: 2011-02-02 16:08:53
Subject: Re: SSI patch version 14

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group