Re: Making the subquery alias optional in the FROM clause

Поиск
Список
Период
Сортировка
От Dean Rasheed
Тема Re: Making the subquery alias optional in the FROM clause
Дата
Msg-id CAEZATCWY670FpOF=63Wq5ZKYMbJNY-wK5CscdRxjtiqNT51tSw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Making the subquery alias optional in the FROM clause  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Ответы Re: Making the subquery alias optional in the FROM clause  (Zhihong Yu <zyu@yugabyte.com>)
Re: Making the subquery alias optional in the FROM clause  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, 6 Jul 2022 at 15:09, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
>
> I'll post an update in a little while, but first, I found a bug, which
> revealed a pre-existing bug in transformLockingClause(). I'll start a
> new thread for that, since it'd be good to get that resolved
> independently of this patch.
>

Attached is an update with the following changes:

* Docs updated as suggested.
* transformLockingClause() updated to skip subquery and values rtes
without aliases.
* eref->aliasname changed to "unnamed_subquery" for subqueries without aliases.

Regards,
Dean

Вложения

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

Предыдущее
От: "Anton A. Melnikov"
Дата:
Сообщение: Re: Possible fails in pg_stat_statements test
Следующее
От: Zhihong Yu
Дата:
Сообщение: Re: Making the subquery alias optional in the FROM clause