Re: [SOCI-users] Problems with blob and postgresql

2010-01-16 Thread Shridhar Daithankar
Hello I traced it down to wrong limit checking in common.h. Attached is a patch to fix it. It seems that it is not yet fixed in the git repo. The patch also includes other minor fixes I had to make to get soci compiled on archlinux x86_64. Why does postgresql backend uses sscanf which is not

[SOCI-users] Problems with blob and postgresql

2010-01-15 Thread Shridhar Daithankar
Hello, I am trying to use large object in postgresql thr. soci. But getting an error, "cannot convert data" when I select blob. GDB transcript and the source are attached. The table definition is as follows test=# \d blobtest; Table "public.blobtest" Column | Type | Modifiers