Re: lo_open problems
От | Bruce Momjian |
---|---|
Тема | Re: lo_open problems |
Дата | |
Msg-id | 200203052000.g25K00D13419@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: lo_open problems (James Leigh <james.leigh@ottawa.com>) |
Список | pgsql-general |
James Leigh wrote: > Tthat was it, Thanks. I did not see that in the docs, it should be > added. > > cheers, > james > > > On Mon, 2002-03-04 at 18:10, Tom Lane wrote: > > James Leigh <james.leigh@ottawa.com> writes: > > > I am using some large object, but lo_open always returns -1. I don't > > > know why. > > > > Are you doing this inside a transaction block? > > I see it in the docs. It is missing somewhere else? <note> <para> All large object manipulation <emphasis>must</emphasis> take place within an SQL transaction. This requirement is strictly enforced as of <productname>PostgreSQL 6.5</>, though it has been an implicit requirement in previous versions, resulting in misbehavior if ignored. </para> </note> </para> -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
В списке pgsql-general по дате отправления: