pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Henshall, Stuart - WCP <SHenshall@westcountrypublications.co.uk>
To: 'Frank Zhu' <frankzyz@etang.com>
To: pgsql-sql@postgresql.org
Subject: Re: Text/Image, JSP tomcat. How can I operate the text and image
Date: Thu, 18 Oct 2001 14:40:15 +0100
Message-ID: <E2870D8CE1CCD311BAF50008C71EDE8E01F74700@MAIL_EXCHANGE> (raw)

Have a look at lo_import and lo_export. Can handle chunks at a time
Also bytea type. You have to handle complete items with this. Although it'd
need some formating. I believe zeros go to \000, ' to \' and \ to \\ as a
bare minimum, but am not at all sure on that.
- Stuart

> -----Original Message-----
> From:	Frank Zhu [SMTP:frankzyz@etang.com]
> Sent:	Tuesday, October 16, 2001 4:42 AM
> To:	pgsql-sql@postgresql.org
> Subject:	Text/Image, JSP tomcat. How can I operate the text and image
> type field in Postgresql? only in java/jsp
> 
> I want to store a long article in the Postgresql in Linux, how can I put
> the
> content into it and redraw it back to show? urgent. Thanks.
> I use JSP.
> I note that all database systems are very dull in BLOB. Why?
> 
> Frank Zhu.
> 
> 



view thread (2+ messages)

Message-ID: <E2870D8CE1CCD311BAF50008C71EDE8E01F74700@MAIL_EXCHANGE>
Permalink:  ../E2870D8CE1CCD311BAF50008C71EDE8E01F74700@MAIL_EXCHANGE/
Also on:    postgresql.org/message-id/E2870D8CE1CCD311BAF50008C71EDE8E01F74700@MAIL_EXCHANGE

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: SHenshall@westcountrypublications.co.uk, frankzyz@etang.com
  Subject: Re: Text/Image, JSP tomcat. How can I operate the text and image
  In-Reply-To: <E2870D8CE1CCD311BAF50008C71EDE8E01F74700@MAIL_EXCHANGE>

* 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