BUG #15836: Casting 'of' to boolean type should throw an invalid input syntax

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #15836: Casting 'of' to boolean type should throw an invalid input syntax
Дата
Msg-id 15836-656fab055735f511@postgresql.org
обсуждение исходный текст
Ответы Re: BUG #15836: Casting 'of' to boolean type should throw an invalidinput syntax  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      15836
Logged by:          Yuming Wang
Email address:      wgyumg@gmail.com
PostgreSQL version: 12beta1
Operating system:   linux
Description:

Converting 'of' to a boolean type should throw an invalid input syntax.
Because we said in the documentation that 'of' is not accepted as an input
to the boolean data type:
https://www.postgresql.org/docs/12/datatype-boolean.html
```
postgres=# select cast('of' as boolean);
 bool 
------
 f
(1 row)
```


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Indexes on expressions that include user-defined functions arenot reindexed when the function definition is changed
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: BUG #15836: Casting 'of' to boolean type should throw an invalidinput syntax