Re: Importing blob

Поиск
Список
Период
Сортировка
Искать
От
Jeff Davis
Тема
Re: Importing blob
Дата
Msg-id
200208062345.11527.list-pgsql-general@empires.org
Ответ на
Importing blob (Patrick Nelson)
Список
Дерево обсуждения
Re: Importing blob Patrick Nelson <pnelson@neatech.com>
Maybe it isn't searching on the path you think it is. Try using a full path to 
the file.

Regards,
	Jeff Davis

> Here is my table:
>
>  CREATE TABLE setimg (id serial, setid int8, image OID);
>
> Here is my insert:
>
>  INSERT INTO setimg(setid, image) VALUES ('32334', lo_import('32334.jpg'));
>
> And the error:
>
>  lo_import: can't open unix file "32334.jpg": no such file or directory
>
> I have tried everything that I can think of to insert this file and every
> time I get the same error.  I have set the full path to the file.  I have
> change priv to 666.  Confirmed proper ownership :.  And still
> it does not see it.  What am I doing wrong?
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

В списке pgsql-general по дате отправления
От: Alexander Pucher
Дата:
Сообщение: Re: MySQL or Postgres ?
От: Mario Weilguni
Дата:
Сообщение: Re: Importing blob
FAQ