Re: [REVIEW] Patch for cursor calling with named parameters
Вложения
В списке pgsql-hackers по дате отправления:
| От | Yeb Havinga |
|---|---|
| Тема | Re: [REVIEW] Patch for cursor calling with named parameters |
| Дата | |
| Msg-id | 4E8F1315.70109@gmail.com обсуждение исходный текст |
| Ответ на | Re: [REVIEW] Patch for cursor calling with named parameters (Yeb Havinga <yebhavinga@gmail.com>) |
| Ответы |
Re: [REVIEW] Patch for cursor calling with named parameters
|
| Список | pgsql-hackers |
On 2011-10-07 12:21, Yeb Havinga wrote: > On 2011-10-06 16:04, Royce Ausburn wrote: >> Initial Review for patch: >> >> http://archives.postgresql.org/pgsql-hackers/2011-09/msg00744.php > > > Again, thank you very much for your thorough review. I'll update the > patch so mixing positional and named parameters are removed, add > documentation, and give syntax errors before an error message > indicating that positional and named parameters were mixed. > Attach is v2 of the patch. Mixed notation now raises an error. In contrast with what I said above, named parameter related errors are thrown before any syntax errors. I tested with raising syntax errors first but the resulting code was a bit more ugly and the sql checking under a error condition (i.e. double named parameter error means there is one parameter in short) was causing serious errors. Documentation was also added, regression tests updated. regards, -- Yeb Havinga http://www.mgrid.net/ Mastering Medical Data
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера