How to insert values in BYTEA?

Поиск
Список
Период
Сортировка
От Oliver Nolden
Тема How to insert values in BYTEA?
Дата
Msg-id 20040924153719.76590.qmail@web25306.mail.ukl.yahoo.com
обсуждение исходный текст
Список pgsql-general
Hi everyone,

I have a table with a bytea-column:

CREATE TABLE picture(
 id int primary key,
 preview bytea NOT NULL);

How can I insert a value in the bytea-column
'preview'? The function 'lo_import()' does only work
for oid. But what is about bytea?

If somebody has any suggestions or ideas, that would
be great.

Thanks a lot in advance,

Oliver






___________________________________________________________
Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de

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

Предыдущее
От: Amin Abdulghani
Дата:
Сообщение: Removed and then missing pg_clog file
Следующее
От: David Helgason
Дата:
Сообщение: Re: Large arrays give long lag on server side before command executes