Re: Allow an alias for the target table in UPDATE/DELETE
В списке pgsql-patches по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Allow an alias for the target table in UPDATE/DELETE |
| Дата | |
| Msg-id | 5264.1137914626@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Allow an alias for the target table in UPDATE/DELETE (Neil Conway <neilc@samurai.com>) |
| Ответы |
Re: Allow an alias for the target table in UPDATE/DELETE
|
| Список | pgsql-patches |
Neil Conway <neilc@samurai.com> writes:
> Can you see a better fix?
I haven't done any experimentation, but my first instinct would be to
spell out the productions at greater length: instead of
relation_expr opt_as ColId
try
relation_expr ColId
| relation_expr AS ColId
The normal game with bison is to postpone decisions (reductions) as
long as possible. Shortcuts like opt_as lose that game because the
shift-versus-reduce decision has to be made with hardly any lookahead.
Or maybe some other hack is needed, but I seriously doubt it's
unfixable.
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера