Received: from web601.yahoomail.com (web2002.mail.yahoo.com [128.11.68.202]) by hub.org (8.9.3/8.9.3) with SMTP id EAA37636 for ; Sun, 5 Sep 1999 04:55:39 -0400 (EDT) (envelope-from almaier@yahoo.com) Message-ID: <19990905085725.23803.rocketmail@web601.yahoomail.com> Received: from [212.152.131.252] by web2002.mail.yahoo.com; Sun, 05 Sep 1999 01:57:25 PDT Date: Sun, 5 Sep 1999 01:57:25 -0700 (PDT) From: Alois Maier Subject: Large Objects Documentation Flaw To: pgsql-docs@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii I have come across a documentation flaw in the Large Object Interface Documentation of Postgres 6.5.1 ( Chapter 15 of the Programmer's guide). For me, lo_open() only worked from within a transaction (but lo_creat() worked even outside a transaction). However, chapter 15 doesn't say any such thing. The sample program testlo.c from 15 chapter thus intiates a transaction in main prior to calling ImportFile(). But there is no clarifying comment that the transaction is really required. Hope this helps, alois __________________________________________________ Do You Yahoo!? Bid and sell for free at http://auctions.yahoo.com