With the postgres provider (in 1.2 and unstable 2.0), gda_value_get_binary() returns an escaped string instead of the binary data.
The code to unescape the string is commented-out in providers/postgres/utils.c:gda_postgres_set_value(), because the PQunescapeBytea() was introduced only in Postgres 7.3. Are you willing to depend on postgres 7.3 (7.4 and 8.0 are shipped by current distro versions), or should I copy the PQunescapeBytea() code (BSD-licensed) into libgda? -- Murray Cumming [EMAIL PROTECTED] www.murrayc.com www.openismus.com _______________________________________________ gnome-db-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-db-list
