lo_read??

Поиск
Список
Период
Сортировка
От bdamato
Тема lo_read??
Дата
Msg-id 3597E7D1.FD0B4F11@coxtarget.com
обсуждение исходный текст
Список pgsql-general
i have been able to import large objects into my database using

psql -c "insert into foo VALUES ('info', 'more info',
lo_import('/path/to/file'))"

where the last field in foo is an Oid.

How do i read that large object using psql?
i suspected it would be something like...

psql -c "select (lo_read(Oid)) from foo"

but I was wrong. Has anyone done this with psql?

bobd


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

Предыдущее
От: Brian
Дата:
Сообщение: Re: [GENERAL] vacuuming
Следующее
От: Roman Volkoff
Дата:
Сообщение: unsubscribe