Re: Large objects.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Large objects.
Дата
Msg-id AANLkTik_dzHw-iCu8WfjzYMBmzOd1xEqk6d3Lf3iM1yR@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Large objects.  (Dmitriy Igrishin <dmitigr@gmail.com>)
Ответы Re: Large objects.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, Sep 26, 2010 at 12:21 PM, Dmitriy Igrishin <dmitigr@gmail.com> wrote:
> Yes, I am sure. I've tested it by test case in my original post.
> Do you can compile and reproduce it please?

I think the reason lo_read is returning 0 is because it's not reading
anything.  See attached test case, cleaned up a bit from yours and
with some error checks added.

According to the documentation, the maximum size of a large object is
2 GB, which may be the reason for this behavior.

http://www.postgresql.org/docs/9/static/lo-intro.html

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company

Вложения

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

Предыдущее
От: Shigeru HANADA
Дата:
Сообщение: Re: patch: SQL/MED(FDW) DDL
Следующее
От: Marios Vodas
Дата:
Сообщение: Re: gist access methods parameter types