pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ing. Roberto Andrade <randrade@campus.iztacala.unam.mx>
To: pgsql-sql@postgresql.org
Subject: Description of lo_import and lo_export
Date: Thu, 4 Mar 1999 13:18:47 -0600 (CST)
Message-ID: <Pine.SOL.3.91.990304131756.21741F-100000@campus> (raw)

Hi:

I need to show some jpgs that I have on a table. I know that it can be done using:

SELECT lo_export(image.raster, "/tmp/myfile" from image
	WHERE name = 'somename';

but this way I just can do it ONE at a time.

I want to show (save to fs) all or some of the images using something like:

SELECT lo_export(image.raster, "something") from image;

But I can't imagine how to do it!

TIA,

Roberto Andrade Fonseca 





Message-ID: <Pine.SOL.3.91.990304131756.21741F-100000@campus>
Permalink:  ../Pine.SOL.3.91.990304131756.21741F-100000@campus/
Also on:    postgresql.org/message-id/Pine.SOL.3.91.990304131756.21741F-100000@campus

 · 

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: randrade@campus.iztacala.unam.mx
  Subject: Re: Description of lo_import and lo_export
  In-Reply-To: <Pine.SOL.3.91.990304131756.21741F-100000@campus>
  References: <Pine.SOL.3.91.990304131756.21741F-100000@campus>

* 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