BUG #15836: Casting 'of' to boolean type should throw an invalid input syntax - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #15836: Casting 'of' to boolean type should throw an invalid input syntax
Date
Msg-id 15836-656fab055735f511@postgresql.org
Whole thread Raw
Responses Re: BUG #15836: Casting 'of' to boolean type should throw an invalidinput syntax
List 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 by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Indexes on expressions that include user-defined functions arenot reindexed when the function definition is changed
Next
From: "David G. Johnston"
Date:
Subject: Re: BUG #15836: Casting 'of' to boolean type should throw an invalidinput syntax