Re: The same result for with SPACE and without SPACE

Поиск
Список
Период
Сортировка
От Scott Ribe
Тема Re: The same result for with SPACE and without SPACE
Дата
Msg-id 2CAFD37D-68FC-4A01-BE65-FAF1ADF7A60A@elevated-dev.com
обсуждение исходный текст
Ответ на The same result for with SPACE and without SPACE  ("Wetmore, Matthew (CTR)" <Matthew.Wetmore@express-scripts.com>)
Ответы Re: The same result for with SPACE and without SPACE  (Mohammed Aslam <hmdaslam97@gmail.com>)
Список pgsql-admin
> On Jun 15, 2023, at 7:08 AM, Wetmore, Matthew (CTR) <Matthew.Wetmore@express-scripts.com> wrote:
>
> I can reproduce this with a INT

?

When casting string to integer, trailing spaces do not cause an exception. When casting integer to char(n), the string
willbe blank padded. 


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

Предыдущее
От: "Wetmore, Matthew (CTR)"
Дата:
Сообщение: The same result for with SPACE and without SPACE
Следующее
От: Mohammed Aslam
Дата:
Сообщение: Re: The same result for with SPACE and without SPACE