X-Original-To: pgsql-interfaces@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 30132475B47 for ; Mon, 28 Apr 2003 14:05:43 -0400 (EDT) Received: from web41402.mail.yahoo.com (web41402.mail.yahoo.com [66.218.93.68]) by postgresql.org (Postfix) with SMTP id 74CAE474E42 for ; Mon, 28 Apr 2003 14:05:40 -0400 (EDT) Message-ID: <20030428180540.84567.qmail@web41402.mail.yahoo.com> Received: from [150.162.64.246] by web41402.mail.yahoo.com via HTTP; Mon, 28 Apr 2003 15:05:40 ART Date: Mon, 28 Apr 2003 15:05:40 -0300 (ART) From: =?iso-8859-1?q?Gabriel=20Beletti?= Subject: Read Cursor to C To: pgsql-interfaces@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, hits=-1.6 required=5.0 tests=BAYES_30 version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/174 X-Sequence-Number: 4113 Hi, my name is Gabriel and I need to read binary data from de DB and write it to a file in C. How do I use this cursor? Howm do I read the data from the cursor after the query is done and write it to C? Thank you for the help, /******************************************\ * Gabriel da Silva Beletti * * ------------------------ * * Ci=EAncias da Computa=E7=E3o * * Computing Science * * * * UNIVERSIDADE FEDERAL DE SANTA CATARINA * * FEDERAL UNIVERSITY OF SANTA CATARINA * * * * Site..: http://www.inf.ufsc.br/~gbeletti * * E-mail: gbeletti@inf.ufsc.br * * UIN : 119620783 * \******************************************/ _______________________________________________________________________ Yahoo! Mail O melhor e-mail gratuito da internet: 6MB de espa=E7o, antiv=EDrus, acesso = POP3, filtro contra spam.=20 http://br.mail.yahoo.com/