By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,933 Members | 1,686 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,933 IT Pros & Developers. It's quick & easy.

Seeking concise PL/pgSQL syntax diagram

P: n/a
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)

TIA,
Dean Arnold
Presicient Corp.
www.presicient.com

Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
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 <kl*****@svana.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


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/vAcdY5Twig3Ge+YRAsZdAKCkpjgY/jSom5sFfSOSQQ/WW5mTAgCfQbma
wXl3Wrq2cVSe920xKXHjcrg=
=C7a/
-----END PGP SIGNATURE-----

Nov 12 '05 #2

P: n/a
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 <kl*****@svana.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


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/vAcdY5Twig3Ge+YRAsZdAKCkpjgY/jSom5sFfSOSQQ/WW5mTAgCfQbma
wXl3Wrq2cVSe920xKXHjcrg=
=C7a/
-----END PGP SIGNATURE-----

Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.