insert into table whit bytea column

Milton inostroza <[email protected]> Thu, 2 Jun 2005 12:39:09 -0400
Newsgroups gmane.comp.python.db.pypgsql.user
Message-ID <[email protected]>
 hello:  I need insert file's into bytea column but I have not managed
 to find information like doing it.
=20
 it uses field in the beginning type oid but lo_import and lo_export,
 it is possible to be only executed with permission of super user and
 that does not serve to me
=20
 the description of the table is the following one
=20
 CREATE TABLE public.prueba
 (
   codigo_fichero serial NOT NULL,
   archivo bytea
 ) WITHOUT OIDS;
=20
 Help me, please, saludos desde Chile
 --
 Milton Inostroza Aguilera
 Desarrollador de RemuneX (sistema de remuneraciones amparado bajo GPL)


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005