Обсуждение: Re: [HACKERS] Python interface is out of date

Поиск
Список
Период
Сортировка

Re: [HACKERS] Python interface is out of date

От
Bruce Momjian
Дата:
Done.


> The version of the Python interface, PyGreSQL, is still 2.2 in the 
> src/interfaces/python directory in the current CVS.  The current version
> of PyGreSQL is 2.3, available from http://www.druid.net/pygresql/:
> 
> Important changes for 2.3
> 
>       connect.host returns "localhost" when connected to Unix socket 
> (torppa@tuhnu.cutery.fi)
>       Use PyArg_ParseTupleAndKeywords in connect() (torppa@tuhnu.cutery.fi) 
>       fixes and cleanups (torppa@tuhnu.cutery.fi) 
>       Fixed memory leak in dictresult() (terekhov@emc.com) 
>       Deprecated pgext.py - functionality now in pg.py 
>       More cleanups to the tutorial 
>       Added fileno() method - terekhov@emc.com (Mikhail Terekhov) 
>       added money type to quoting function 
>       Compiles cleanly with more warnings turned on 
>       Returns PostgreSQL error message on error 
>       Init accepts keywords (Jarkko Torppa) 
>       Convenience functions can be overridden (Jarkko Torppa) 
>       added close() method 
> 
> Can this be updated before 6.5 is released?
> 

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: [HACKERS] Python interface is out of date

От
"D'Arcy" "J.M." Cain
Дата:
Thus spake Bruce Momjian
> > The version of the Python interface, PyGreSQL, is still 2.2 in the 
> > src/interfaces/python directory in the current CVS.  The current version
> > of PyGreSQL is 2.3, available from http://www.druid.net/pygresql/:

Heh.  Now I'm about to release version 3.0.  I suspect it won't be
ready in time but I suppose that's the sort of thing that can go in after
release, right?  There are a few bugs in 2.3, mostly relating to money.
There are also a few new features.
 - Insert returns None if the user doesn't have select permissions   on the table.  It can (and does) happen that one
hasinsert but   not select permissions on a table. - Added ntuples() method to query object (brit@druid.net) -
Correcteda bug related to getresult() and the money type - Corrected a but related to negative money amounts - Allow
updatebased on primary key if munged oid not available - Add many __doc__ strings. (andre@via.ecp.fr)
 

Hopefully we will have the new DB-SIG interface ready soon and 3.0 will
be released.  In the meantime, the beta versions are generally pretty
stable if anyone wants to use them.  The latest beta is always here.
   ftp://ftp.druid.net/pub/distrib/PyGreSQL-beta.tgz

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.