Re: TEXT blob extraction in ecpg - Mailing list pgsql-sql

From Michael Fuhr
Subject Re: TEXT blob extraction in ecpg
Date
Msg-id 20050110210937.GA5932@winnie.fuhr.org
Whole thread Raw
In response to TEXT blob extraction in ecpg  ("none none" <mytofi@hotmail.com>)
List pgsql-sql
On Mon, Jan 10, 2005 at 01:02:00PM -0500, none none wrote:

> Does any one know how to properly extract a TEXT type blob (undefined char 
> length) in ecpg (Linux system)?

If you don't know how much memory to allocate for a column, you
could use a descriptor area and check RETURNED_OCTET_LENGTH.  See
the "Using SQL Descriptor Areas" section in the ECPG documentation.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/


pgsql-sql by date:

Previous
From: "none none"
Date:
Subject: TEXT blob extraction in ecpg
Next
From: Ron Peterson
Date:
Subject: Re: Question about insert/update RULEs.