[gnome-db] gda_value_get_binary() broken for postgres
- From: Murray Cumming <murrayc murrayc com>
- To: gnome-db-list <gnome-db-list gnome org>
- Subject: [gnome-db] gda_value_get_binary() broken for postgres
- Date: Thu, 14 Jul 2005 11:09:41 +0200
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
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]