Re: Portability concerns over pq_sendbyte?
От | Andres Freund |
---|---|
Тема | Re: Portability concerns over pq_sendbyte? |
Дата | |
Msg-id | 20180614202530.qgib3szwz66unyb5@alap3.anarazel.de обсуждение исходный текст |
Ответ на | Re: Portability concerns over pq_sendbyte? (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Portability concerns over pq_sendbyte?
|
Список | pgsql-hackers |
Hi, On 2018-06-14 16:17:28 -0400, Tom Lane wrote: > Alvaro Herrera <alvherre@2ndquadrant.com> writes: > > How about not renaming the functions, but just change argument types? Yea, I'm in favor of this. I don't think the 'u' in there would benefit us, and the cast from signed to unsigned is well defined, so it's safe to call the functions with signed input. > Yeah, I didn't understand why anything else would be on the table. Because it sounds a bit weird for a function with just 'int' in the name to take unsigned ints as a parameter? I don't think that's enough justification to rename everything, but it's not completely crazy either. > We already changed their arg types for 11, no? No, not really. We added new functions. Greetings, Andres Freund
В списке pgsql-hackers по дате отправления: