Re: Allow an alias for the target table in UPDATE/DELETE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Allow an alias for the target table in UPDATE/DELETE
Дата
Msg-id 4664.1137909318@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:
> Patch applied to HEAD.

This is wrong:

+relation_expr_opt_alias: relation_expr
+                {
+                    $$ = $1;
+                }
+            | relation_expr opt_as IDENT
+                {
+

Should be ColId, not IDENT, per existing alias_clause production.

Also, while I'm all for getting to 100 regression tests, this is a
mighty lame 100th entry.

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: TupleDesc refcounting
Следующее
От: Neil Conway
Дата:
Сообщение: Re: Allow an alias for the target table in UPDATE/DELETE