Hello,

Dmitriy Igrishin wrote:

> We found a modified version of SOCI that allows reading/writing bytea 
> with PostgreSQL (http://www.ebasoft.com.pl/?q=node/7). However we try to 
> avoid patches of the third parties.

Please note that the patch you have found is well-intentioned and most 
likely also well prepared - I know from the person who did it that it is 
used in production. If you find that it solves your problem, there is no 
reason not to use it.

> As alternative we think about using libpq for operations with bytea data 
> (using getBackEnd method to get PGConn*).

Yes, it is also a possible approach. The get_backend method exists 
exactly to allow users step out of the box.

Regards,

-- 
Maciej Sobczak * www.msobczak.com * www.inspirel.com

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to