| От | Tom Lane |
|---|---|
| Тема | Re: SQL-Invoked Procedures for 8.1 |
| Дата | |
| Msg-id | 7918.1097212545@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: SQL-Invoked Procedures for 8.1 (Josh Berkus <josh@agliodbs.com>) |
| Ответы |
Re: SQL-Invoked Procedures for 8.1
|
| Список | pgsql-hackers |
Josh Berkus <josh@agliodbs.com> writes:
> I'll give you an example why not:
> CALL some_sp ( user IS 19, session IS NULL );
> However, Tom, couldn't AS confuse the parser when used to call a named
> function in a SELECT clause?
I don't think so. We are talking about
SELECT f(42 AS a, col1 AS b) AS collabel FROM ...
Certainly there's no ambiguity to a person in this: param name AS's are
inside parens, collabel AS's are not. I believe that bison would deal
with this handily ... but I have to admit I've not actually tried to
make the grammar changes for it.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера