Re: Extending outfuncs support to utility statements

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Extending outfuncs support to utility statements
Дата
Msg-id 1972439.1657665506@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Extending outfuncs support to utility statements  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Ответы Re: Extending outfuncs support to utility statements  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> This is also needed to be able to store utility statements in (unquoted) 
> SQL function bodies.  I have some in-progress code for that that I need 
> to dust off.  IIRC, there are still some nontrivial issues to work 
> through on the reading side.  I don't have a problem with enabling the 
> outfuncs side in the meantime.

BTW, I experimented with trying to enable WRITE_READ_PARSE_PLAN_TREES
for utility statements, and found that the immediate problem is that
Constraint and a couple of other node types lack read functions
(they're the ones marked "custom_read_write, no_read" in parsenodes.h).
They have out functions, so writing the inverses seems like it's just
something nobody ever got around to.  Perhaps there are deeper problems
lurking behind that one, though.

            regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: making relfilenodes 56 bits
Следующее
От: David Rowley
Дата:
Сообщение: Some clean-up work in get_cheapest_group_keys_order()