Re: confusing `case when` column name

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: confusing `case when` column name
Дата
Msg-id A2904471-7798-45F5-8F21-F19907D365B2@yesql.se
обсуждение исходный текст
Ответ на Re: confusing `case when` column name  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> On 12 Mar 2024, at 15:19, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> users are probably going to end up applying an AS clause most of
> the time if they care about the column name at all.

If anything, we could perhaps add a short note in the CASE documentation about
column naming, the way it's phrased now a new user could very easily assume it
would be "case".

--
Daniel Gustafsson




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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: On disable_cost
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Disable LLVM bitcode generation with pgxs.mk framework.