wCTE: about the name of the feature

Поиск
Список
Период
Сортировка
От Tom Lane
Тема wCTE: about the name of the feature
Дата
Msg-id 12023.1298564448@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: wCTE: about the name of the feature  (Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>)
Re: wCTE: about the name of the feature  (Andrew Dunstan <andrew@dunslane.net>)
Re: wCTE: about the name of the feature  (Robert Haas <robertmhaas@gmail.com>)
Re: wCTE: about the name of the feature  (David Fetter <david@fetter.org>)
Список pgsql-hackers
The wCTE patch refers to the feature it's adding as "DML WITH".  I'm
still pretty unhappy with that terminology.  In my view of the world,
"DML" includes SELECT as well as INSERT/UPDATE/DELETE.  The wikipedia
entry about the term
http://en.wikipedia.org/wiki/Data_Manipulation_Language
agrees that that's at least the majority usage, and even our own docs
seem to use it to include SELECT as often as not.  Since the distinction
is absolutely critical to talking about this feature sensibly, I don't
think it's a good plan to use an acronym that is guaranteed to produce
uncertainty in the reader's mind.

The best idea I have at the moment is to spell out "data modifying
command" (or "statement") rather than relying on the acronym.
In the code, we could change hasDmlWith to hasModifyingWith, for
example.  The error messages could read likedata-modifying statement in WITH is not allowed in a view

Comments?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Review: Fix snapshot taking inconsistencies
Следующее
От: Marko Tiikkaja
Дата:
Сообщение: Re: wCTE: about the name of the feature