Re: Portability concerns over pq_sendbyte?

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Portability concerns over pq_sendbyte?
Дата
Msg-id 20180611052544.GC31877@paquier.xyz
обсуждение исходный текст
Ответ на Re: Portability concerns over pq_sendbyte?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Portability concerns over pq_sendbyte?
Список pgsql-hackers
On Wed, Jun 06, 2018 at 12:27:58PM -0400, Alvaro Herrera wrote:
> Do you have an answer to this question?  Does anybody else?
>
> (My guts tell me it'd be better to change these routines to take
> unsigned values, without creating extra variants.  But guts frequently
> misspeak.)

My guts are telling me as well to not have more variants.  On top of
that it seems to me that we'd want to rename any new routines to include
"uint" in their name instead of "int", and for compatibility with past
code pq_sendint should not be touched.
--
Michael

Вложения

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