Re: libpq lo_open errors when first action in connection

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: libpq lo_open errors when first action in connection
Date: 2005-05-14 00:12:07
Message-ID: 20ad65bfef22e12c10c6e18c19890c5c@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> The problem is that LO descriptors are only valid for the
> duration of the transaction.

Thanks, that's it all right. I forgot to update the lo_ stuff
when we switched the autocommit mojo around a while back.

> I think you should make the func() method open a transaction,
> just like a query does.

Yep, that's the basic solution - for lo_creat. Thanks again.

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
PGP Key: 0x14964AC8 200505130807
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8

-----BEGIN PGP SIGNATURE-----

iD8DBQFChJjdvJuQZxSWSsgRAgh9AKDBRlAjbDt4zcfqnvTuEq9Z4cBfygCgwes6
hJ0De8jAcMYKOrSUH3uGoZk=
=/ooS
-----END PGP SIGNATURE-----

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Russell Smith 2005-05-14 02:25:01 Re: Catalog Security WAS: Views, views, views: Summary
Previous Message Josh Berkus 2005-05-13 23:12:47 Re: Do you have any objections on contributing your improvements of the PostgreSQL core back into the product?