From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: wgyumg@gmail.com
Subject: BUG #15836: Casting 'of' to boolean type should throw an invalid input syntax
Date: Wed, 05 Jun 2019 21:36:48 +0000
Message-ID: <15836-656fab055735f511@postgresql.org> (raw)
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)
```
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, wgyumg@gmail.com
Subject: Re: BUG #15836: Casting 'of' to boolean type should throw an invalid input syntax
In-Reply-To: <15836-656fab055735f511@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox