lo_import - Mailing list pgsql-general

From Bob Pawley
Subject lo_import
Date
Msg-id 005001c725f3$d63581e0$8e904618@owner
Whole thread Raw
Responses Re: lo_import
List 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 by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Unable to start server - winxp
Next
From: "Joshua D. Drake"
Date:
Subject: Re: lo_import