Re: Large object - what's happening?

Поиск
Список
Период
Сортировка
От Warwick Hunter
Тема Re: Large object - what's happening?
Дата
Msg-id 1060903185.4431.14.camel@stradbroke.oz.agile.tv
обсуждение исходный текст
Ответ на Large object - what's happening?  (Cath Lawrence <Cath.Lawrence@anu.edu.au>)
Ответы Re: Large object - what's happening?  (Cath Lawrence <Cath.Lawrence@anu.edu.au>)
Список pgsql-novice
Cath

> I get a python error:
> _pg.err: can't create large object
>
> In the postmaster log is a one-liner:
> ERROR:  lo_lseek: invalid large obj descriptor (0)

Make sure that you are doing the large object manipulation
inside a transaction. I saw this type of error from the
C interface when I forgot to wrap it in a transaction.

It could also be caused by permissions. I think your
database user needs some special priveleges to be able
to create large objects.

Warwick
--
Warwick Hunter                    Agile TV Corporation
Voice: +61 7 5584 5912            Fax: +61 7 5575 9550
mailto:whunter@agile.tv           http://www.agile.tv


В списке pgsql-novice по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: User/login questions
Следующее
От: "Girish Bajaj"
Дата:
Сообщение: Qualified Names