berger, ralf writes:
> Because if I type \lo_import() in an insert statement:
>
> INSERT INTO test VALUES ( \lo_import('/home/torsten/bild1.gif') );
>
> I got a list of database owners and the following output:
>
> psql:lo_import.sql:1: \l: extra argument
> 'o_import('/home/torsten/bild1.gif')' ignored
> psql:lo_import.sql:1: ERROR: parser: parse error at or near ")"
\lo_import /home/torsten/bild1.gif
INSERT INTO test VALUES ( :LASTOID );
--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter