agora inbox for postgres@postgres.berkeley.edu  
help / color / mirror / Atom feed
From: Gunter Strube <Gunter.Strube@regent.e-technik.tu-muenchen.de>
To: postgres@postgres.berkeley.edu
Subject: Large Objects
Date: Fri, 20 Aug 1993 14:52:26 +0200
Message-ID: <93Aug20.135229met_dst.6185@redamoi.regent.e-technik.tu-muenchen.de> (raw)

Hi,

I've been trying to work with Large_Objects in Postgres for quite a
while now, trying to store or access them either from the monitor
or via LIBPQ.
Even though I've tried it in about a thousand different versions
it doesn't seem to work right. The documentation in Manual Section 7 
is rather poor and the Example doesn't work either.

The closest I could get was that the some writing access was done to
"pg_largre_object" but the attemt to read it out failed.

A frequent error message was after the command:
	inv_fd = p_open("/inv_file2", INV_WRITE, Inversion);

	Error: Unexpected identifier: ?

so before I describe the whole mess in more detail:

1. Does anybody have experience with large objects who can explain
   the access via LIBPQ or via the monitor.

2. Can anybody send me some example-programms for storing data in
   large objects (in Unix as well as in in Inversion files).

Thanks in advance
 Gunter
-- 
------------------------------------------------------------------------
Gunter Strube                                 Phone +49 89 551 743-74 
Institute of Electronic Design Automation    
Prof. Dr.-Ing. K. Antreich               
Technical University of Munich          
P.O. Box 202420                        
W-80290 Munich 2                 
Germany                            gus@regent.e-technik.tu-muenchen.de
------------------------------------------------------------------------




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: postgres@postgres.berkeley.edu
  Cc: Gunter.Strube@regent.e-technik.tu-muenchen.de
  Subject: Re: Large Objects
  In-Reply-To: <93Aug20.135229met_dst.6185@redamoi.regent.e-technik.tu-muenchen.de>

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

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