Re: a proposal for an extendable deparser

Поиск
Список
Период
Сортировка
Искать
От
Heikki Linnakangas
Тема
Re: a proposal for an extendable deparser
Дата
Msg-id
49AB9AAF.2070404@enterprisedb.com
Ответ на
Список
Дерево обсуждения
a proposal for an extendable deparser Dave Gudeman <dave.gudeman@gmail.com>
Re: a proposal for an extendable deparser Tom Lane <tgl@sss.pgh.pa.us>
Re: a proposal for an extendable deparser Dave Gudeman <dave.gudeman@gmail.com>
Re: a proposal for an extendable deparser Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Re: a proposal for an extendable deparser Tom Lane <tgl@sss.pgh.pa.us>
Dave Gudeman wrote:
> I don't need to add new node types or add any syntax; it is the output that
> I'm concerned with. What I want is a way to print a tree according to some
> pretty strict rules. For example, I want a special syntax for function RTEs
> and I don't want the v::type notation to be output (the flag to turn it off
> doesn't do what I want).

This will become useful for SQL/MED connectors to other databases. Other 
DBMSs have slightly different syntax, and with something like this you 
could still use ruleutils.c for the deparsing, but tweak it slightly for 
the target database.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com

В списке pgsql-hackers по дате отправления
От: Peter Eisentraut
Дата:
От: Simon Riggs
Дата:
FAQ