You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "lidavidm (via GitHub)" <gi...@apache.org> on 2023/11/06 13:04:07 UTC

Re: [I] c/driver/postgresql: Get option for strings returns null terminator [arrow-adbc]

lidavidm commented on issue #1256:
URL: https://github.com/apache/arrow-adbc/issues/1256#issuecomment-1794771751

   Intentional: https://github.com/apache/arrow-adbc/blob/313245b7ff4a45da56130400a83dc1e87be59975/adbc.h#L1587-L1588
   
   Because C strings expect null terminators so it's generally easier to just make sure it's there (like how std::string technically wouldn't need one because it tracks the length, but for interoperability it still tracks a null terminator anyways)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org