Re: Direct converting numeric types to bool - Mailing list pgsql-hackers

From n.zhuchkov@postgrespro.ru
Subject Re: Direct converting numeric types to bool
Date
Msg-id 0ef92165d45f176f66d9f9ceac86c042@postgrespro.ru
Whole thread Raw
In response to Direct converting numeric types to bool  (n.zhuchkov@postgrespro.ru)
Responses Re: Direct converting numeric types to bool
List pgsql-hackers
n.zhuchkov@postgrespro.ru писал 2018-02-28 18:04:
> Attached patch allow direct convertion of numeric types to bool like
> integer::bool.
> Supported types:
>  - smallint;
>  - bigint;
>  - real;
>  - double precision;
>  - decimal(numeric).
> 
> This functionality is helped with migration from Oracle.

Attachment

pgsql-hackers by date:

Previous
From: n.zhuchkov@postgrespro.ru
Date:
Subject: Direct converting numeric types to bool
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] [POC] Faster processing at Gather node