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 11388.1133453112@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Allow an alias for the target table in UPDATE/DELETE  (Atsushi Ogawa <atsushi.ogawa@gmail.com>)
Ответы Re: Allow an alias for the target table in UPDATE/DELETE  (Atsushi Ogawa <atsushi.ogawa@gmail.com>)
Список pgsql-patches
Atsushi Ogawa <atsushi.ogawa@gmail.com> writes:
> (2)About processing when column identifier of SET clause is specified
> like 'AAA.BBB'. 'AAA' is a composite column now. When an alias for
> target table is supported, 'AAA' is a composite column or a table.
> How do we distinguish these?

You don't, which is why you can't put an alias on a SET target.

Increasing the reserved-ness of SET isn't real attractive either.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Check for integer overflow in datetime functions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Check for integer overflow in datetime functions