Обсуждение: Re: [INTERFACES] Problem with Large Object Interface of pgsql_perl5
Edmund Mergl was kind enough to point out my error and now that I look back at the Programmer's documentation I see it. Someone might want to update the Pg man page to reflect this. Thanks! Ken Causey PremierNET, Inc. At 01:11 PM 3/31/00 -0500, Tom Lane wrote: >Ken Causey <ken@premiernet.net> writes: >> Can anyone tell me what I'm doing wrong? > >Not doing the lo_open inside a transaction. You need begin ... end >around any use of an open large object. (This has always been true, >but older versions of Postgres didn't enforce it --- they'd just die >occasionally if you broke the rule. Now, open LO handles are auto- >closed at transaction commit, which is to say at end of statement >if you're not inside a BEGIN block.) > > regards, tom lane > >
> Edmund Mergl was kind enough to point out my error and now > that I look back at the Programmer's documentation I see it. Someone > might want to update the Pg man page to reflect this. Thanks! What "Pg man page"? Where? Can't fix what I can't find... - Thomas -- Thomas Lockhart lockhart@alumni.caltech.edu South Pasadena, California
On Fri, 31 Mar 2000, Thomas Lockhart wrote: > > Edmund Mergl was kind enough to point out my error and now > > that I look back at the Programmer's documentation I see it. Someone > > might want to update the Pg man page to reflect this. Thanks! > > What "Pg man page"? Where? Can't fix what I can't find... Use perldoc Pg to read it. It's packaged as /usr/lib/perl5/man/man3/Pg.3 in the RPM. It is located at src/interfaces/perl5/blib/man3/Pg.3 in the tarball. -- Lamar Owen WGCR Internet Radio 1 Peter 4:11
> > What "Pg man page"? Where? Can't fix what I can't find... > Use perldoc Pg to read it. It's packaged as /usr/lib/perl5/man/man3/Pg.3 in > the RPM. It is located at src/interfaces/perl5/blib/man3/Pg.3 in the tarball. Sheesh, a whole 'nother set of docs to look at. Hopefully someone else will pick it up... - Thomas -- Thomas Lockhart lockhart@alumni.caltech.edu South Pasadena, California