Re: [GENERAL] PostgreSQL 7.4.1 and pgdb.py

2004-02-08 Thread Manuel Tejada
As a user of PostgreSQL I totally agree with Gaetano Mendola. There is no reason to pull the python subpackage out of the main set, - Original Message - From: Gaetano Mendola [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 06, 2004 9:24 PM Subject: Re: [GENERAL] PostgreSQL

Re: [GENERAL] PostgreSQL 7.4.1 and pgdb.py

2004-02-08 Thread Kris Jurka
On Sun, 8 Feb 2004, Manuel Tejada wrote: Lamar Owen wrote: Since I don't necessarily keep up with what is going on in the Python client world, would people enlighten me as to which python client would be best to build RPMs for? I'm going to pull the python subpackage out of the

Re: [GENERAL] PostgreSQL 7.4.1 and pgdb.py

2004-02-01 Thread Gaetano Mendola
Manuel Tejada wrote: import pgdb dbConnect = pgdb.connect(dsn='localhost:oracle', user='manuel', password='') cursor = dbConnect.cursor() cursor.execute(select * from address) Traceback (most recent call last): File stdin, line 1, in ? File /usr/lib/python2.2/site-packages/pgdb.py, line

Re: [GENERAL] PostgreSQL 7.4.1 and pgdb.py

2004-02-01 Thread Gaetano Mendola
Tom Lane wrote: Manuel Tejada [EMAIL PROTECTED] writes: But now when I input the same sintaxis with the new Installation(PostgreSQL 7.4.1), I get an error when I enter rhe four line: _pg.error: ERROR: non exist the column typprtlen I believe this indicates you're using an old version of the

Re: [GENERAL] PostgreSQL 7.4.1 and pgdb.py

2004-02-01 Thread Manuel Tejada
Thank you very much Gaetano I edited the pgdb.py file setting 4 instead of typprtlen. Now I am able to connect to PostgreSQL using pgdb.py. Just for curiosity, Can I set to -1 too as Gerhard Haring told to you? - Original Message - From: Gaetano Mendola [EMAIL PROTECTED] Newsgroups:

Re: [GENERAL] PostgreSQL 7.4.1 and pgdb.py

2004-02-01 Thread Gaetano Mendola
Manuel Tejada wrote: Thank you very much Gaetano I edited the pgdb.py file setting 4 instead of typprtlen. Now I am able to connect to PostgreSQL using pgdb.py. Just for curiosity, Can I set to -1 too as Gerhard Haring told to you? I think yes, I really didn't dig on it to see the usage of