Re: to_hex() for negative inputs

Поиск
Список
Период
Сортировка
От Aleksander Alekseev
Тема Re: to_hex() for negative inputs
Дата
Msg-id CAJ7c6TMBcE=SMeUajoEaG=W8HZ6HCRiSQxt9wGb+Mq_nhOB7nQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: to_hex() for negative inputs  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Ответы Re: to_hex() for negative inputs  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Список pgsql-hackers
Hi Dean,

> Of course there is. This is easy to code in C using unsigned ints,
> without resorting to abs() (yes, I'm aware that abs() is undefined for
> INT_MIN).

So in your opinion what is the expected result of to_hex(INT_MIN,
with_sign => true)?

-- 
Best regards,
Aleksander Alekseev



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

Предыдущее
От: Dean Rasheed
Дата:
Сообщение: Re: to_hex() for negative inputs
Следующее
От: "Hayato Kuroda (Fujitsu)"
Дата:
Сообщение: RE: [Proposal] Add foreign-server health checks infrastructure