| От | Tom Lane |
|---|---|
| Тема | Re: WITH ORDINALITY versus column definition lists |
| Дата | |
| Msg-id | 1526.1384980770@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: WITH ORDINALITY versus column definition lists (David Johnston <polobo@yahoo.com>) |
| Ответы |
Re: WITH ORDINALITY versus column definition lists
|
| Список | pgsql-hackers |
David Johnston <polobo@yahoo.com> writes:
> Just to clarify we are still allowing simple aliasing:
> select * from generate_series(1,2) with ordinality as t(f1,f2);
Right, that works (and is required by spec, I believe). It's what to
do with our column-definition-list extension that's at issue.
> Not sure if this is possible at this point but really the alias for the
> ordinality column would be attached directly to the ordinality keyword.
> e.g., ...) with ordinality{alias} as t(a1, a2)
This has no support in the standard.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера