Re: Portability concerns over pq_sendbyte? - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Portability concerns over pq_sendbyte?
Date
Msg-id 20180606162758.s57ca7twwz2fi72e@alvherre.pgsql
Whole thread Raw
In response to Portability concerns over pq_sendbyte?  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Responses Re: Portability concerns over pq_sendbyte?
List pgsql-hackers
On 2018-May-24, Andrew Gierth wrote:

> In PG11, pq_sendbyte got changed from taking an int parameter to taking
> an int8.

> Would it be better for these to take unsigned values, or have unsigned
> variants?

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.)

Andres, you own this open item, unless one of the other committers who
have participated in this thread would like to take it as their own.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Possible bug in logical replication.
Next
From: Konstantin Knizhnik
Date:
Subject: Re: libpq compression