X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 825D13A2BF6 for ; Mon, 17 Jan 2005 07:33:45 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 43903-07 for ; Mon, 17 Jan 2005 07:33:32 +0000 (GMT) Received: from mx-00.sil.at (mx-00.sil.at [62.116.68.196]) by svr1.postgresql.org (Postfix) with ESMTP id 5ED7E3A2C04 for ; Mon, 17 Jan 2005 07:33:31 +0000 (GMT) Received: (qmail-ldap/ctrl 27985 invoked from network); 17 Jan 2005 07:33:28 -0000 Received: from unknown (HELO jupiter.sonorys.at) ([213.235.243.42]) (envelope-sender ) by mx-00.sil.at (qmail-ldap-1.03) with SMTP for ; 17 Jan 2005 07:33:28 -0000 Received: from neptun.sonorys.at (neptun.sonorys.at [172.24.1.17]) by jupiter.sonorys.at (8.11.7+Sun/8.11.7) with ESMTP id j0H7Xds11070 for ; Mon, 17 Jan 2005 08:33:39 +0100 (MET) Received: by neptun.sonorys.at with Internet Mail Service (5.5.2653.19) id ; Mon, 17 Jan 2005 08:33:30 +0100 Message-ID: From: =?ISO-8859-1?Q?K=D6PFERL_Robert?= To: pgsql-sql@postgresql.org Subject: Re: TEXT type blob extraction in ecpg Date: Mon, 17 Jan 2005 08:33:28 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by amavisd-new at hub.org X-Archive-Number: 200501/118 X-Sequence-Number: 19906 I think don't really unterstand your intend. However there exists a type text in SQL and Postgres which is a text of unspecified length and used like a SQL-String. Thus quoted with ' So when you earlier were able to gain the content of that field. It = should be no problem to quote it. > -----Original Message----- > From: none none [mailto:mytofi@hotmail.com] > Sent: Montag, 10. J=E4nner 2005 18:43 > To: pgsql-sql@postgresql.org > Subject: [SQL] TEXT type blob extraction in ecpg >=20 >=20 >=20 > Does any one know how to properly extract a TEXT type blob=20 > (undefined char=20 > length) in ecpg (Linux system)? We are converting our SQL=20 > from Informix to=20 > PostGres. Informix had a specific struct defined and I=20 > believe handled the=20 > dynamic memory allocation, but I cannot find any guidance on=20 > this issue for=20 > PostGres. Anyone have any suggestions? >=20 > Thanks, >=20 > Tom >=20 >=20 >=20 > ---------------------------(end of=20 > broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? >=20 > http://www.postgresql.org/docs/faqs/FAQ.html >=20