Re: Dubious usage of TYPCATEGORY_STRING

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Dubious usage of TYPCATEGORY_STRING
Дата
Msg-id CA+TgmobEsWPvF4=yiL40cKySGDZ1bErHVei47PnpGuOTp86dww@mail.gmail.com
обсуждение исходный текст
Ответ на Dubious usage of TYPCATEGORY_STRING  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Dubious usage of TYPCATEGORY_STRING  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Thu, Dec 2, 2021 at 4:22 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> An example of the reasons not to treat these types as being
> general-purpose strings can be seen at [1], where the "char"
> type has acquired some never-intended cast behaviors.  Taking
> that to an extreme, we currently accept
>
> regression=# select '(1,2)'::point::"char";
>  char
> ------
>  (
> (1 row)

What's wrong with that?

-- 
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Why doesn't pgstat_report_analyze() focus on not-all-visible-page dead tuple counts, specifically?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: AW: Assorted improvements in pg_dump