2009/11/24 Jean-Yves F. Barbier <12ukwn@xxxxxxxxx>: > Hi list, > > I'm using Gambas to access a PG DB (only through views and functions) > and I can't find a way to escape my string to fit into a BYTEA field; > does anybody have an idea about this? I can't help you with Gambas, but if you are asking how to escape a string for bytea, its documented here: http://www.postgresql.org/docs/8.4/interactive/datatype-binary.html > > JY > -- > Don't drop acid -- take it pass/fail. > -- Seen in a Ladies' Room at Harvard > > -- > Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general > -- Brian Modra Land line: +27 23 5411 462 Mobile: +27 79 69 77 082 5 Jan Louw Str, Prince Albert, 6930 Postal: P.O. Box 2, Prince Albert 6930 South Africa http://www.zwartberg.com/ -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general