Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Direct converting numeric types to bool

Поиск
Список
Период
Сортировка
От n.zhuchkov@postgrespro.ru
Тема Direct converting numeric types to bool
Дата
Msg-id 495a5b5a7b55aaec48a8ac50473a7578@postgrespro.ru
обсуждение исходный текст
Ответы Re: Direct converting numeric types to bool
Re: Direct converting numeric types to bool
RE: Direct converting numeric types to bool
Список pgsql-hackers
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.

-- 
Nikita Zhuchkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company


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