On Thu, Feb 2, 2012 at 10:33:24AM +0300, Dmitriy Igrishin wrote: > Hey all, > > Could you tell me please an objective reason why PQunescapeBytea() > returns unsigned char* rather than just char* ? > I am asking because a bit confused. How this intermixes with LO's API, > which based on signed chars (although as we all know large object - > is a just bytea splitted on chunks)? > And also PQgetvalue() returns char* rather than unsigned char*.
Can someone answer this? Are we consistent here? -- Bruce Momjian <br...@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. + -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers