unsigned and signed chars in libpq API - Mailing list pgsql-hackers

From Dmitriy Igrishin
Subject unsigned and signed chars in libpq API
Date
Msg-id CAAfz9KP04h9t6h6q1=Hh+EUfcyV=os=G1PGqsk8uxt2R-dLt2g@mail.gmail.com
Whole thread Raw
Responses Re: unsigned and signed chars in libpq API
List pgsql-hackers
Hey all,<br /><br />Could you tell me please an objective reason why PQunescapeBytea()<br />returns unsigned char*
ratherthan just char* ?<br />I am asking because a bit confused. How this intermixes with LO's API,<br />which based on
signedchars (although as we all know large object -<br /> is a just bytea splitted on chunks)?<br />And also
PQgetvalue()returns char* rather than unsigned char*.<br /><br />Thanks.<br clear="all" /><br />-- <br />// Dmitriy.<br
/><br/><br /> 

pgsql-hackers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: pg_stats_recovery view
Next
From: Magnus Hagander
Date:
Subject: Re: pg_stats_recovery view