pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: KÖPFERL Robert <robert.koepferl@sonorys.at>
To: pgsql-sql@postgresql.org
Subject: Re: TEXT type blob extraction in ecpg
Date: Mon, 17 Jan 2005 08:33:28 +0100
Message-ID: <ED4E30DD9C43D5118DFB00508BBBA76EB16556@neptun.sonorys.at> (raw)

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änner 2005 18:43
> To: pgsql-sql@postgresql.org
> Subject: [SQL] TEXT type blob extraction in ecpg
> 
> 
> 
> Does any one know how to properly extract a TEXT type blob 
> (undefined char 
> length) in ecpg (Linux system)?  We are converting our SQL 
> from Informix to 
> PostGres.  Informix had a specific struct defined and I 
> believe handled the 
> dynamic memory allocation, but I cannot find any guidance on 
> this issue for 
> PostGres.  Anyone have any suggestions?
> 
> Thanks,
> 
> Tom
> 
> 
> 
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faqs/FAQ.html
> 



view thread (2+ messages)

Message-ID: <ED4E30DD9C43D5118DFB00508BBBA76EB16556@neptun.sonorys.at>
Permalink:  ../ED4E30DD9C43D5118DFB00508BBBA76EB16556@neptun.sonorys.at/
Also on:    postgresql.org/message-id/ED4E30DD9C43D5118DFB00508BBBA76EB16556@neptun.sonorys.at

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: robert.koepferl@sonorys.at
  Subject: Re: TEXT type blob extraction in ecpg
  In-Reply-To: <ED4E30DD9C43D5118DFB00508BBBA76EB16556@neptun.sonorys.at>
  References: <ED4E30DD9C43D5118DFB00508BBBA76EB16556@neptun.sonorys.at>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox