Direct converting numeric types to bool

From: n(dot)zhuchkov(at)postgrespro(dot)ru
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Direct converting numeric types to bool
Date: 2018-02-28 15:04:07
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Attached patch allow direct convertion of numeric types to bool like
Supported types:
- smallint;
- bigint;
- real;
- double precision;
- decimal(numeric).

This functionality is helped with migration from Oracle.

Nikita Zhuchkov
Postgres Professional:
The Russian Postgres Company


Browse pgsql-hackers by date

  From Date Subject
Next Message n.zhuchkov 2018-02-28 15:06:11 Re: Direct converting numeric types to bool
Previous Message Peter Eisentraut 2018-02-28 15:02:37 Re: Disabling src/test/[ssl|ldap] when not building with SSL/LDAP support