Re: [PATCH] Return command tag 'REPLACE X' for CREATE OR REPLACE statements.
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [PATCH] Return command tag 'REPLACE X' for CREATE OR REPLACE statements. |
| Дата | |
| Msg-id | 21742.1290961742@sss.pgh.pa.us обсуждение |
| Ответ на | [PATCH] Return command tag 'REPLACE X' for CREATE OR REPLACE statements. (Marti Raudsepp <marti@juffo.org>) |
| Ответы |
Re: [PATCH] Return command tag 'REPLACE X' for CREATE OR
REPLACE statements.
|
| Список | pgsql-hackers |
Marti Raudsepp <marti@juffo.org> writes:
> This patch returns command tag "CREATE X" or "REPLACE X" for
> LANGAUGE/VIEW/RULE/FUNCTION. This is done by passing completionTag to
> from ProcessUtility to more functions, and adding a 'bool *didUpdate'
> argument to some lower-level functions. I'm not sure if passing back
> the status in a bool* is considered good style, but this way all the
> functions look consistent.
This is going to break clients that expect commands to return the same
command tag as they have in the past. I doubt that whatever usefulness
is gained will outweigh the compatibility problems.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера