Re: [RFC] nodeToString format and exporting the SQL parser

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [RFC] nodeToString format and exporting the SQL parser
Дата
Msg-id 3669.1270239388@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [RFC] nodeToString format and exporting the SQL parser  (Michael Tharp <gxti@partiallystapled.com>)
Ответы Re: [RFC] nodeToString format and exporting the SQL parser
Список pgsql-hackers
Michael Tharp <gxti@partiallystapled.com> writes:
> Due to popular demand on #postgresql (by which I mean David Fetter), I 
> have been spending a little time making the internal SQL parser 
> available to clients via a C-language SQL function. The function itself 
> is extremely simple: just a wrapper around a call to raw_parser followed 
> by nodeToString.

What exactly is the use-case for this?  Generally speaking I'm against
exposing that data structure to clients, because there will inevitably
be griping when we change it (as we most certainly will).  Your
complaints boil down to "this is hard to parse from the client side",
and that already tells me you're doing something that we will refuse
to support.
        regards, tom lane


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

Предыдущее
От: Michael Tharp
Дата:
Сообщение: [RFC] nodeToString format and exporting the SQL parser
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Alpha release this week?