Re: How to insert into pg_largeobject?

Поиск
Список
Период
Сортировка
От Sean Davis
Тема Re: How to insert into pg_largeobject?
Дата
Msg-id 264855a00809040456l44dd5622m3d95e4bbc5df67ff@mail.gmail.com
обсуждение исходный текст
Ответ на How to insert into pg_largeobject?  (Ognjen Blagojevic <ognjen@etf.bg.ac.yu>)
Список pgsql-novice
On Thu, Sep 4, 2008 at 4:25 AM, Ognjen Blagojevic <ognjen@etf.bg.ac.yu> wrote:
> Hi,
>
> How can I insert data into pg_largeobject?
>
> When I try:
>
>  INSERT INTO pg_catalog.pg_largeobject(loid, pageno, data) VALUES (4, 1,
> '\\001\\002\\003\\004');

This isn't meant to be used like this, I don't think.  You'll want to
use the large object interface:

http://www.postgresql.org/docs/8.3/static/lo-funcs.html

Sean

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

Предыдущее
От: Ognjen Blagojevic
Дата:
Сообщение: How to insert into pg_largeobject?
Следующее
От: Yogesh Sharma
Дата:
Сообщение: Re: Opinion from experts