agora inbox for postgres@postgres.berkeley.edu
help / color / mirror / Atom feedFrom: Gatto <gatto@dss.inpe.br>
To: postgres@postgres.Berkeley.EDU
Subject: bytea built-in type
Date: Tue, 29 Nov 94 09:21:37 EDT
Message-ID: <9411291121.AA05008@dss.inpe.br> (raw)
Hello
I have class MSG with a bytea (variable length array of bytes) field, and
I need to add instances to it trough a C source code using LIBPQ functions.
This field can contain zero values, and I don't know how to build a query
string, to use in PQexec, that doesn't finish when a zero value occours in
some position (not the last) of this field.
Can anyone help me?
==============================================================================
To add/remove yourself to/from the POSTGRES mailing list: send mail with
the subject line ADD or DEL to "postgres-request@postgres.Berkeley.EDU".
If this fails, send mail to "post_questions@postgres.Berkeley.EDU" and
a human will deal with it. DO NOT post to the "postgres" mailing list.
==============================================================================
URL: http://s2k-ftp.CS.Berkeley.EDU:8000/postgres/
[s2k-ftp is down with hardware problems. more news as it becomes available..]
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: postgres@postgres.berkeley.edu
Cc: gatto@dss.inpe.br
Subject: Re: bytea built-in type
In-Reply-To: <9411291121.AA05008@dss.inpe.br>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox