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

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: Allow an alias for the target table in UPDATE/DELETE
Дата
Msg-id 1137915811.8798.41.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Allow an alias for the target table in UPDATE/DELETE  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
On Sun, 2006-01-22 at 02:23 -0500, Tom Lane wrote:
>     relation_expr opt_as ColId
>
> try
>
>     relation_expr ColId
>     | relation_expr AS ColId

Yeah, I already tried that without success. The no-AS-specified variant
is still ambiguous: given SET following relation_expr, the parser still
can't determine whether the SET is the table alias or is part of the
UpdateStmt.

-Neil



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

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