You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(9) |
Nov
(18) |
Dec
(5) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(11) |
Feb
(7) |
Mar
(7) |
Apr
(7) |
May
(17) |
Jun
(33) |
Jul
(19) |
Aug
(3) |
Sep
(19) |
Oct
(18) |
Nov
(27) |
Dec
(13) |
2003 |
Jan
(12) |
Feb
(8) |
Mar
(11) |
Apr
(42) |
May
(19) |
Jun
(49) |
Jul
(23) |
Aug
(12) |
Sep
(2) |
Oct
(8) |
Nov
(8) |
Dec
(13) |
2004 |
Jan
(13) |
Feb
(2) |
Mar
(7) |
Apr
(7) |
May
(6) |
Jun
(13) |
Jul
(4) |
Aug
(12) |
Sep
(6) |
Oct
(6) |
Nov
(50) |
Dec
(10) |
2005 |
Jan
(20) |
Feb
(20) |
Mar
(2) |
Apr
(10) |
May
(12) |
Jun
(7) |
Jul
|
Aug
(4) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2006 |
Jan
(2) |
Feb
(2) |
Mar
(5) |
Apr
(6) |
May
(3) |
Jun
(17) |
Jul
(2) |
Aug
(8) |
Sep
(1) |
Oct
(5) |
Nov
(3) |
Dec
(2) |
2007 |
Jan
(2) |
Feb
|
Mar
|
Apr
(2) |
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
2008 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
|
May
(3) |
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
2009 |
Jan
(2) |
Feb
(1) |
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(3) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2011 |
Jan
(2) |
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Adam B. <ad...@po...> - 2001-11-05 19:33:09
|
On Sun, Nov 04, 2001 at 04:33:40PM +0400, dubal wrote: > We tried this (pypgsql). We did not have any of the above problems. > However, we could not read any date columns from db. Are You sure that You have properly installed and working egenic-mx-base package? Could You send here some error messages? What does "we could not read" mean? Please, be more concrete if You want someone to help You... :) > Also while installing, python2 setup.py build aborts with gcc complaining: > gcc: unrecognized option `-R/usr/lib/pgsql' I think this is problem with a broken Python installation. What is the version of pyPgSQL and Python You are working with? Have You compiled everyting yourself or used ready .rpm packages? Regards, -- Adam Buraczewski <ad...@po...> * Linux registered user #165585 GCS/TW d- s-:+>+:- a- C+++(++++) UL++++$ P++ L++++ E++ W+ N++ o? K? w-- O M- V- PS+ !PE Y PGP+ t+ 5 X+ R tv- b+ DI? D G++ e+++>++++ h r+>++ y? |
From: dubal <du...@kh...> - 2001-11-05 13:42:20
|
Many thanks for your very prompt response. 1. As for the installation problem, you have advised us to ignore the gcc error message. The installation is done and the module is working. 2. We could not read datetime columns on RH6.2 because we had installed a DateTime module from somewhere I don't remember. It did not have the ISO module and that was the trouble. Today we installed mx rpm available for RH7.2 that also has the ISO module. Therefore the pypgsql is working fine. Thanks again. Have a nice day. Dubal On Monday 05 November 2001 01:05 pm, you wrote: > dubal wrote: > > Hello everyone, > > > > We have tried pygresql that is supplied with postgresql but we had > > problems with quoting, nulls and checking rowcount after update > > statement. > > > > We tried PoPy but we had problems with quoting and nulls. > > > > We tried this (pypgsql). We did not have any of the above problems. > > However, we could not read any date columns from db. > > That is strange. Can you post an example that illustrates the problem > (table definition, code use to access the dates, etc.). > > > Also while installing, python2 setup.py build aborts with gcc > > complaining: gcc: unrecognized option `-R/usr/lib/pgsql' > > The build doesn't abort, at least when I install it under cygwin using gcc. > The message is just a warning and the option is ignored. > ___________________________________________________________________________ > ____ | Billy G. Allie | Domain....: Bil...@mu... > > | /| | 7436 Hartwell | MSN.......: B_G...@em... > |-/-|----- | Dearborn, MI 48126| > |/ |LLIE | (313) 582-1540 | |
From: Billy G. A. <Bil...@mu...> - 2001-11-05 09:05:38
|
dubal wrote: > Hello everyone, > > We have tried pygresql that is supplied with postgresql but we had problems > with quoting, nulls and checking rowcount after update statement. > > We tried PoPy but we had problems with quoting and nulls. > > We tried this (pypgsql). We did not have any of the above problems. > However, we could not read any date columns from db. That is strange. Can you post an example that illustrates the problem (table definition, code use to access the dates, etc.). > Also while installing, python2 setup.py build aborts with gcc complaining: > gcc: unrecognized option `-R/usr/lib/pgsql' The build doesn't abort, at least when I install it under cygwin using gcc. The message is just a warning and the option is ignored. ___________________________________________________________________________ ____ | Billy G. Allie | Domain....: Bil...@mu... | /| | 7436 Hartwell | MSN.......: B_G...@em... |-/-|----- | Dearborn, MI 48126| |/ |LLIE | (313) 582-1540 | |
From: dubal <du...@kh...> - 2001-11-05 05:10:04
|
Hello everyone, We have tried pygresql that is supplied with postgresql but we had problems with quoting, nulls and checking rowcount after update statement. We tried PoPy but we had problems with quoting and nulls. We tried this (pypgsql). We did not have any of the above problems. However, we could not read any date columns from db. Also while installing, python2 setup.py build aborts with gcc complaining: gcc: unrecognized option `-R/usr/lib/pgsql' Please suggest a solution. Any help is greatly appreciated. Thanks in advance. Dubal du...@kh... |
From: Gerhard <ger...@gm...> - 2001-11-02 16:59:08
|
pyPgSQL is now part of the FreeBSD ports collection. I'm the maintainer of this port. A short explanation for those not familiar with the FreeBSD ports concept: In the next version of FreeBSD (or now in FreeBSD-current, if you like to live on the bleeding edge), you will be able to simply go to /usr/ports/databases/py-pyPgSQL and - fetch the current release from Sourceforge and install it with "make install" - build a package with "make package" spreading-the-propaganda-ly yours, Gerhard -- mail: gerhard <at> bigfoot <dot> de registered Linux user #64239 web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0 public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0 reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b'))) |
From: Billy G. A. <bg...@mu...> - 2001-10-17 06:52:53
|
Bell John wrote: > Does pypgsql support import/export operations on > Binary Large Objects in the DB-API variant? If so, > what is the import/export syntax. > > John John, The short answer is yes. The long answer is more complicated. Are you trying to import/export from a remote client or on the same machine on which the database resides (it makes a difference. If on the same machine as the database server, you can use the built-in registered lo_import and lo_export. This example is from the PostgreSQL documentation: CREATE TABLE image ( name text, raster oid ); INSERT INTO image (name, raster) VALUES ('beautiful image', lo_import('/etc/motd')); SELECT lo_export(image.raster, '/tmp/motd') from image WHERE name = 'beautiful image'; Just use the SQL insert and select statements in the execute() method. If you need to import from a remote system, you can't us the lo_import or lo_export functions. You can do the following (this requires the latest CVS of pyPgSQL to work): # Assume the the table image as defined above exists. from pyPgSQL import PgSQL cx = PgSQL.connect(database="dbname", host="hostname") cur = cx.cursor() # Import a file into a new large object. lo = cx.binary(open('/etc/motd', 'r').read()) cur.execute('INSERT INTO image (name, raster) VALUES (%s, %s)', 'beautiful image', lo) cx.commit() # Export a large object to a file cur.execute('SELECT raster FROM image WHERE name = %s', "beautiful image") rs = cur.fetchone() lo = rs.raster lo.open('r') open('/tmp/motd', 'w').write(lo.read()) The lo_import and lo_export C-API functiona are available as methods of the libpq.PgConnection object. If you are importing/exporting files that reside on the machine hosting the database server, you can use the follwoing code: from pyPgSQL import PgSQL cx = PgSQL.connect(database="dbname", host="hostname") cur = cx.cursor() # Import a file into a new large object. lo = cx.conn.lo_import('/etc/motd') cur.execute('INSERT INTO image (name, raster) VALUES (%s, %s)', 'beautiful image', lo) cx.commit() # Export a large object to a file cur.execute('SELECT raster FROM image WHERE name = %s', "beautiful image") rs = cur.fetchone() cx.conn.lo_export(rs.raster.oid, '/tmp/motd') Again, I want to emphasize that the lo_export and lo_import will only export/import files that reside on the same machine as the database server. Also, you will need to use the latest code from the CVS repository, which contains bug fixes related to large objects. I hope this helps. -- ____ | Billy G. Allie | Domain....: Bil...@mu... | /| | 7436 Hartwell | MSN.......: B_G...@em... |-/-|----- | Dearborn, MI 48126| |/ |LLIE | (313) 582-1540 | |
From: Bell J. <jbe...@ya...> - 2001-10-16 08:47:43
|
Does pypgsql support import/export operations on Binary Large Objects in the DB-API variant? If so, what is the import/export syntax. John __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com |
From: Gerhard <ger...@gm...> - 2001-10-14 11:09:56
|
On Sun, Oct 14, 2001 at 03:18:55PM +1000, Stuart Bishop wrote: > > On comp.lang.python at October 13, 2001, at 10:11 PM, Gerhard Häring wrote: > > > On Sat, Oct 13, 2001 at 03:08:46PM +1000, Stuart Bishop wrote: > >> On Saturday, October 13, 2001, at 02:05 PM, John Bell wrote: > >>> [...] I am leaning towards pypgsql [...] > >> > >> I got as far as checking its threadsafety - level 1 compliance > >> is a major lack to me. > > > > I will look into the thread level compliance thing, but for now I only > > remember a message from the main developer Bill Allie, which sounds > > reasonable to me: > > > > http://mail.vex.net:99/pipermail/pygresql/2001-July/000420.html > > If the PostgreSQL connection provided to you is not thread safe, then > there is nothing stopping you using locking *inside* your connection > object. The API says 'use a resource without wrapping it using a mutex > semaphore', which is from the users perspective (the 'use' is the keyword > - the connection is the resource). > > And now that Gerhard's email made me realise that threadsafety level 1 > *is* perfectly good for Zope (I was counting from 1, not from 0), I have > yet another postgres adaptor to evaluate :-) Cool :-) There isn't an "official" ZOPE database adapter using pyPgSQL at the moment. There will be one as a subproject of pyPgSQL soon, however. At least as a development version in CVS. A sneak preview of it and my experiments with Windows installers is available at my homepage (sig). Btw. I will change the license from BSD back to ZPL. I'm not sure if I really have to, but this is to be on the safe side. Oh, btw. it's based on the one from psycopg project and I only hacked it for pyPgSQL. Stay tuned :-) Gerhard -- mail: gerhard <at> bigfoot <dot> de registered Linux user #64239 web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0 public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0 reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b'))) |
From: Stuart B. <ze...@sh...> - 2001-10-14 05:19:03
|
On Saturday, October 13, 2001, at 10:11 PM, Gerhard H=E4ring wrote: > On Sat, Oct 13, 2001 at 03:08:46PM +1000, Stuart Bishop wrote: >> On Saturday, October 13, 2001, at 02:05 PM, John Bell wrote: >>> [...] I am leaning towards pypgsql [...] >> >> I got as far as checking its threadsafety - level 1 compliance >> is a major lack to me. > > I will look into the thread level compliance thing, but for now I only > remember a message from the main developer Bill Allie, which sounds > reasonable to me: > > http://mail.vex.net:99/pipermail/pygresql/2001-July/000420.html If the PostgreSQL connection provided to you is not thread safe, then there is nothing stopping you using locking *inside* your connection object. The API says 'use a resource without wrapping it using a mutex semaphore', which is from the users perspective (the 'use' is the = keyword - the connection is the resource). And now that Gerhard's email made me realise that threadsafety level 1 *is* perfectly good for Zope (I was counting from 1, not from 0), I have yet another postgres adaptor to evaluate :-) -- Stuart Bishop <ze...@sh...> |
From: Billy G. A. <Bil...@mu...> - 2001-10-13 04:20:17
|
markus jais wrote: > hello > just downloaded pypgsql > looks really great. > > a friend told my, that there are also some other > python interfaces to postgresql. some should be faster > > I have not found any other and pypgsql is really good. > but can somebody tell me, if there are other implementations > too, and what advantages / disadvantages they have?? There are a number of other implementations around. For example: PyGreSQL, PoPy, and others. PyGreSQL is part of the PostgreSQL distribution. Links to others can be found at http://www.python.org/topics/database/modules.html. You can also look in the Vaults of Parnassus at http://www.vex.net/parnassus. Some are faster than others, and there are differing degrees of compliance with the DB-API 2.0 specifications. Which one you chose will depend on your needs and requirements. I can't give you any details about the other packages since I haven't looked at the lately so any comparisons I might make would likely contain out-dated information. -- ____ | Billy G. Allie | Domain....: Bil...@mu... | /| | 7436 Hartwell | MSN.......: B_G...@em... |-/-|----- | Dearborn, MI 48126| |/ |LLIE | (313) 582-1540 | |
From: markus j. <in...@mj...> - 2001-10-12 07:50:54
|
hello just downloaded pypgsql looks really great. a friend told my, that there are also some other python interfaces to postgresql. some should be faster I have not found any other and pypgsql is really good. but can somebody tell me, if there are other implementations too, and what advantages / disadvantages they have?? this would be really nice thanks in advance regards markus -- Markus Jais http://www.mjais.de in...@mj... The road goes ever on and on - Bilbo Baggins |
From: Gerhard <ger...@gm...> - 2001-10-08 17:16:46
|
On Mon, Oct 08, 2001 at 11:21:05AM -0400, Billy G. Allie wrote: > Gerhard =3D?iso-8859-1?Q?H=3DE4ring?=3D wrote: > > This is a test message. The mailing list page is now linked to from > > http://pypgsql.sf.net/ > >=20 > > Gerhard >=20 > Well, it looks like the test is successfull. >=20 > BTW: I will be upgrading the hardware/OS on my machine within the next two > weeks, so I am unlikely to make any changes to it until that time (i= .e. > the CVS for the web site will not be implemented for two weeks). In > case your interested, I will be going to a dual Pentium-III 1ghz sys= tem > with 2Gbytes ram. The OS will be Caldera OpenUnix 8 (formally know = as > UnixWare). Wow! Preparing for VA Linux going broke and Sourceforge disappearing? ;-) And I thought my dual-Celeron 500 w/ 512 MB RAM was a killer machine. ciao, Gerhard --=20 mail: gerhard <at> bigfoot <dot> de registered Linux user #64239 web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0 public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0 reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b'= ))) |
From: Billy G. A. <Bil...@mu...> - 2001-10-08 15:22:32
|
Gerhard =?iso-8859-1?Q?H=E4ring?= wrote: > This is a test message. The mailing list page is now linked to from > http://pypgsql.sf.net/ > > Gerhard Well, it looks like the test is successfull. BTW: I will be upgrading the hardware/OS on my machine within the next two weeks, so I am unlikely to make any changes to it until that time (i.e. the CVS for the web site will not be implemented for two weeks). In case your interested, I will be going to a dual Pentium-III 1ghz system with 2Gbytes ram. The OS will be Caldera OpenUnix 8 (formally know as UnixWare). Later. ___________________________________________________________________________ ____ | Billy G. Allie | Domain....: Bil...@mu... | /| | 7436 Hartwell | MSN.......: B_G...@em... |-/-|----- | Dearborn, MI 48126| |/ |LLIE | (313) 582-1540 | |
From: Gerhard <ger...@gm...> - 2001-10-08 13:50:04
|
This is a test message. The mailing list page is now linked to from http://pypgsql.sf.net/ Gerhard -- mail: gerhard <at> bigfoot <dot> de registered Linux user #64239 web: http://www.cs.fhm.edu/~ifw00065/ OpenPGP public key id 86AB43C0 public key fingerprint: DEC1 1D02 5743 1159 CD20 A4B6 7B22 6575 86AB 43C0 reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b'))) |