Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

lo_import



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


Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group