Return-Path: pg_adm@postgres.berkeley.edu
Received: by postgres.Berkeley.EDU (5.61/1.29)
	id AA14461; Fri, 20 Aug 93 04:43:50 -0700
From: Gunter Strube <Gunter.Strube@regent.e-technik.tu-muenchen.de>
Subject: Large Objects
To: postgres@postgres.berkeley.edu
Sender: pg_adm@postgres.berkeley.edu
From: Gunter Strube <Gunter.Strube@regent.e-technik.tu-muenchen.de>
To: postgres@postgres.Berkeley.EDU
Date: Fri, 20 Aug 1993 14:52:26 +0200
X-Mailer: ELM [version 2.3 PL6]
Message-Id: <93Aug20.135229met_dst.6185@redamoi.regent.e-technik.tu-muenchen.de>

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
------------------------------------------------------------------------

