lo_import

Поиск
Список
Период
Сортировка
От Bob Pawley
Тема lo_import
Дата
Msg-id 005001c725f3$d63581e0$8e904618@owner
обсуждение исходный текст
Ответы Re: lo_import  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-general
My remote server recognizes the fokkowing expression as a server side command.
 
-----
 Insert Into library.devices (Item_id, device, a_d, designation,  function_, type_, function1)
 Values ( 'Tdeviceft2a',  lo_import('c:/program files/postgresql/8.0/lib/images/magflow.bmp'), 'a', 'F', 'A_Flow', 'mon', 'Flow') ;
 
---
 
Various documents, including PostgreSQL, suggest modifications such as - \lo_import, lo_import(), oid lo_import - to make the statement work on the client side.
 
I can't make them work. What am I missing?
 
 Insert Into library.devices (Item_id, device, a_d, designation,  function_, type_, function1)
 Values ( 'Tdeviceft2a',  \lo_import ('c:/program files/postgresql/8.0/lib/images/magflow.bmp'), 'a', 'F', 'A_Flow', 'mon', 'Flow') ;
 
Bob Pawley

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Unable to start server - winxp
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: lo_import