Re: Seeking concise PL/pgSQL syntax diagram

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Dean Arnold <darnold(at)presicient(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Seeking concise PL/pgSQL syntax diagram
Date: 2003-11-20 00:13:18
Message-ID: 20031120001318.GA4645@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Nov 18, 2003 at 11:24:33PM +0000, Dean Arnold wrote:
> I checked the 7.4 PL/pgSQL docs but couldn't find
> a concise grammar description
> e.g. a BNF diagram...is any such thing
> available online ? I'm looking to possibly port a stored
> procedure debugger I'm writing to support Pg.
> (I'd prefer *not* to wade thru a lex/yacc definition)

I don't think there is a grammer description in the documentation. If you
don't feel like wading through the yacc file, note that yacc can produce a
concise grammer summary as a side effect, so maybe just compiling with the
-g or -v options to yacc will produce output you can use.

Hope this helps,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> "All that is needed for the forces of evil to triumph is for enough good
> men to do nothing." - Edmond Burke
> "The penalty good people pay for not being interested in politics is to be
> governed by people worse than themselves." - Plato

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2003-11-20 00:18:54 Re: Two rules on a view do not like each other :-(
Previous Message terry 2003-11-19 23:28:43 Re: A newbie question