Re: Seeking concise PL/pgSQL syntax diagram

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Seeking concise PL/pgSQL syntax diagram
Дата
Msg-id 20031120001318.GA4645@svana.org
обсуждение исходный текст
Ответ на Seeking concise PL/pgSQL syntax diagram  ("Dean Arnold" <darnold@presicient.com>)
Список 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@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

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Dmitry Tkach
Дата:
Сообщение: Two rules on a view do not like each other :-(
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Two rules on a view do not like each other :-(