Hello,
Hervé Le Borgne wrote:
> I just had to add a #include (for strncmp) into the file
> src/backends/postgresql/test/test-postgresql.cpp
Fixed as well.
Regards,
--
Maciej Sobczak * www.msobczak.com * www.inspirel.com
---
Hello,
> Could you please try with these modified files and let us know if it
> helped?
I tested with two configurations (see below) and all tests passed. Thank you!
I just had to add a #include (for strncmp) into the file
src/backends/postgresql/test/test-postgresql.cpp
Both config use Postgre
Hello,
Hervé Le Borgne wrote:
> in fact, this is not a problem of compilation option. It seems it directly
> comes to the template function I previously identified ( template function
> string_to_integer into the file src/backends/postgresql/common.h - see
> below).
> Indeed, on my x86_64 ar
> A colleague of mine reprodured the same failure as me on his x86_64
> architecture. I point this because I think this is the source of my issues.
> Does your architecture 64 bits?
>
> In fact, the message "Cannot convert data." comes from the template
> function string_to_integer into the file sr
Thank you for your answer.
>> Example of code is:
> > session sql ( soci::postgresql, "dbname=z user=y password=x"
> > ); sql <<"create table soci_test ( id integer, img oid)";
> > sql << "insert into soci_test(id, img) values(7, lo_creat(-1))";
> > sql.begin();
> > {
> > blob b(sql
Hello,
LE BORGNE Hervé 214777 wrote:
> I am trying to get gata from a blob with postgresql through SOCI. It worked
> perfectly with soci 2.2 but it returns 'Cannot convert data' with soci 3.0.
> Note that I have the same error with the test programs included into SOCI.
> Example of code is:
>
Hi,
I am trying to get gata from a blob with postgresql through SOCI. It worked
perfectly with soci 2.2 but it returns 'Cannot convert data' with soci 3.0.
Note that I have the same error with the test programs included into SOCI.
Example of code is:
session sql ( soci::postgresql, "dbname=zzz