Личный кабинет
Укажите e-mail, на который будет выслан код восстановления пароля.
На указанный вами адрес e-mail был выслан код подтверждения аккаунта. Введите полученный код для продолжения:
Введите новый пароль два раза:
Hi2018-02-28 16:06 GMT+01:00 <n.zhuchkov@postgrespro.ru>: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.Looks little bit obscure to upstream code (can lives as extension outside)all work can be done be functionCREATE OR REPLACE FUNCTION public.to_bool(anyelement) RETURNS boolean LANGUAGE sql IMMUTABLE STRICTAS $function$select $1::int::boolean $function$I really doesn't see any sense to allow cast from double to boolean
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.
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.
-1 from meRegardsPavel
В списке pgsql-hackers по дате отправления: