From: Milton i. <min...@gm...> - 2005-06-02 16:45:59
|
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) |
From: Karsten H. <Kar...@gm...> - 2005-06-02 18:20:21
|
> On Thu, Jun 02, 2005 at 12:39:09PM -0400, Milton inostroza wrote: > http://savannah.gnu.org/cgi-bin/viewcvs/gnumed/gnumed/gnumed/client/business/gmMedDoc.py?rev=1.2&content-type=text/vnd.viewcvs-markup Sorry, this link doesn't work, please try: http://savannah.gnu.org/cgi-bin/viewcvs/gnumed/gnumed/gnumed/client/business/gmMedDoc.py and follow the "view" link. Karsten -- GPG key ID E4071346 @ wwwkeys.pgp.net E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346 |
From: Milton i. <min...@gm...> - 2005-06-03 08:45:32
|
hello: you know I use pypgSql to connect to me with the data base, sincerely observes your I source but I do not understand much because I am nascent in this. If your you were so gentile to show a concrete example to me of as I can do it through string of connection created through pypgsql, much would thank for you, since this is I complete it that I need to finish the system that I am developing. salu2! 2005/6/2, Karsten Hilbert <Kar...@gm...>: > > On Thu, Jun 02, 2005 at 12:39:09PM -0400, Milton inostroza wrote: >=20 > > http://savannah.gnu.org/cgi-bin/viewcvs/gnumed/gnumed/gnumed/client/bus= iness/gmMedDoc.py?rev=3D1.2&content-type=3Dtext/vnd.viewcvs-markup > Sorry, this link doesn't work, please try: >=20 > http://savannah.gnu.org/cgi-bin/viewcvs/gnumed/gnumed/gnumed/client/busi= ness/gmMedDoc.py >=20 > and follow the "view" link. >=20 > Karsten > -- > GPG key ID E4071346 @ wwwkeys.pgp.net > E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346 >=20 > ------------------------------------------------------- > 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=3Doffad-ysdn-ostg-q22= 005 > _______________________________________________ > Pypgsql-users mailing list > Pyp...@li... > https://lists.sourceforge.net/lists/listinfo/pypgsql-users >=20 --=20 Milton Inostroza Aguilera Secretario Academico Centro de Alumnos Encargado de Auspicios y Patrocinios - 6to. Encuentro Nacional de Linux Desarrollador de RemuneX (sistema de remuneraciones amparado bajo GPL) |
From: Milton i. <min...@gm...> - 2005-06-03 09:25:31
|
thanks, in your source find the from pyPgSQL.PgSQL import PgBytea :D 2005/6/3, Milton inostroza <min...@gm...>: > hello: you know I use pypgSql to connect to me with the data base, > sincerely observes your I source but I do not understand much because > I am nascent in this. If your you were so gentile to show a concrete > example to me of as I can do it through string of connection created > through pypgsql, much would thank for you, since this is I complete it > that I need to finish the system that I am developing. salu2! >=20 > 2005/6/2, Karsten Hilbert <Kar...@gm...>: > > > On Thu, Jun 02, 2005 at 12:39:09PM -0400, Milton inostroza wrote: > > > > > http://savannah.gnu.org/cgi-bin/viewcvs/gnumed/gnumed/gnumed/client/b= usiness/gmMedDoc.py?rev=3D1.2&content-type=3Dtext/vnd.viewcvs-markup > > Sorry, this link doesn't work, please try: > > > > http://savannah.gnu.org/cgi-bin/viewcvs/gnumed/gnumed/gnumed/client/bu= siness/gmMedDoc.py > > > > and follow the "view" link. > > > > Karsten > > -- > > GPG key ID E4071346 @ wwwkeys.pgp.net > > E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346 > > > > ------------------------------------------------------- > > 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=3Doffad-ysdn-ostg-q= 22005 > > _______________________________________________ > > Pypgsql-users mailing list > > Pyp...@li... > > https://lists.sourceforge.net/lists/listinfo/pypgsql-users > > >=20 > -- > Milton Inostroza Aguilera > Secretario Academico Centro de Alumnos > Encargado de Auspicios y Patrocinios - 6to. Encuentro Nacional de Linux > Desarrollador de RemuneX (sistema de remuneraciones amparado bajo GPL) >=20 --=20 Milton Inostroza Aguilera Secretario Academico Centro de Alumnos Encargado de Auspicios y Patrocinios - 6to. Encuentro Nacional de Linux Desarrollador de RemuneX (sistema de remuneraciones amparado bajo GPL) |
From: Karsten H. <Kar...@gm...> - 2005-06-02 17:40:23
|
On Thu, Jun 02, 2005 at 12:39:09PM -0400, Milton inostroza wrote: > > hello: I need insert file's into bytea column but I have not managed > to find information like doing it. http://savannah.gnu.org/cgi-bin/viewcvs/gnumed/gnumed/gnumed/client/business/gmMedDoc.py?rev=1.2&content-type=text/vnd.viewcvs-markup Look at def update_data_from_file() Karsten -- GPG key ID E4071346 @ wwwkeys.pgp.net E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346 |
From: Milton i. <min...@gm...> - 2005-06-02 18:01:49
|
2005/6/2, Karsten Hilbert <Kar...@gm...>: > On Thu, Jun 02, 2005 at 12:39:09PM -0400, Milton inostroza wrote: > > > > hello: I need insert file's into bytea column but I have not managed > > to find information like doing it. >=20 > http://savannah.gnu.org/cgi-bin/viewcvs/gnumed/gnumed/gnumed/client/busin= ess/gmMedDoc.py?rev=3D1.2&content-type=3Dtext/vnd.viewcvs-markup >=20 > Look at >=20 > def update_data_from_file() i don't find this method in the addres, me you can send a concrete example of like doing it, if it is that it is not much annoyance >=20 > Karsten > -- > GPG key ID E4071346 @ wwwkeys.pgp.net > E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346 >=20 > ------------------------------------------------------- > 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=3Doffad-ysdn-ostg-q22= 005 > _______________________________________________ > Pypgsql-users mailing list > Pyp...@li... > https://lists.sourceforge.net/lists/listinfo/pypgsql-users >=20 --=20 Milton Inostroza Aguilera Secretario Academico Centro de Alumnos Encargado de Auspicios y Patrocinios - 6to. Encuentro Nacional de Linux Desarrollador de RemuneX (sistema de remuneraciones amparado bajo GPL) |