Return-Path: owner-postman Received: from localhost.Berkeley.EDU (localhost.Berkeley.EDU [127.0.0.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id DAA19045 for postgres-redist; Tue, 29 Nov 1994 03:22:57 -0800 Resent-From: POSTGRES mailing list Resent-Message-Id: <199411291122.DAA19045@nobozo.CS.Berkeley.EDU> X-Authentication-Warning: nobozo.CS.Berkeley.EDU: Host localhost.Berkeley.EDU didn't use HELO protocol Sender: owner-postman@postgres.Berkeley.EDU X-Return-Path: owner-postman Received: from dss.inpe.br (penelope.dss.inpe.br [150.163.16.1]) by nobozo.CS.Berkeley.EDU (8.6.9/8.6.3) with SMTP id DAA19035 for ; Tue, 29 Nov 1994 03:22:08 -0800 Received: by dss.inpe.br (4.1/SMI-4.1) id AA05008; Tue, 29 Nov 94 09:21:37 EDT Date: Tue, 29 Nov 94 09:21:37 EDT From: gatto@dss.inpe.br (Gatto) Message-Id: <9411291121.AA05008@dss.inpe.br> To: postgres@postgres.Berkeley.EDU Subject: bytea built-in type Resent-To: postgres-redist@postgres.Berkeley.EDU Resent-Date: Tue, 29 Nov 94 03:22:57 -0800 Resent-XMts: smtp 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..]