source: trunk/docs/changelog.txt @ 274

Last change on this file since 274 was 274, checked in by D'Arcy J.M. Cain, 14 years ago

Note OID backwards compatibility code change.

File size: 8.6 KB
2PyGreSQL ChangeLog
6Version 3.8.1 (beta)
8- reverted code in clear() method that set date to current.
9- Added code for backwards compatibility in OID munging code.
11Version 3.8 (2006-02-17)
13- Installed new favicon.ico from Matthew Sporleder <>
14- Replaced snprintf by PyOS_snprintf.
15- Removed NO_SNPRINTF switch which is not needed any longer
16- Clean up some variable names and namespace
17- Add get_relations() method to get any type of relation
18- Rewrite get_tables() to use get_relations()
19- Use new method in get_attnames method to get attributes of views as well
20- Add Binary type
21- Number of rows is now -1 after executing no-result statements
22- Fix some number handling
23- Non-simple types do not raise an error any more
24- Improvements to documentation framework
25- Take into account that nowadays not every table must have an oid column
26- Simplification and improvement of the inserttable() function
27- Fix up unit tests
28- The usual assortment of minor fixes and enhancements
30Version 3.7 (2005-09-07)
32Improvement of pgdb module:
34- Use Python standard `datetime` if `mxDateTime` is not available
36Major improvements and clean-up in classic pg module:
38- All members of the underlying connection directly available in `DB`
39- Fixes to quoting function
40- Add checks for valid database connection to methods
41- Improved namespace support, handle `search_path` correctly
42- Removed old dust and unnessesary imports, added docstrings
43- Internal sql statements as one-liners, smoothed out ugly code
45Version 3.6.2 (2005-02-23)
47- Further fixes to namespace handling
49Version 3.6.1 (2005-01-11)
51- Fixes to namespace handling
53Version 3.6 (2004-12-17)
55- Better DB-API 2.0 compliance
56- Exception hierarchy moved into C module and made available to both APIs
57- Fix error in update method that caused false exceptions
58- Moved to standard exception hierarchy in classic API
59- Added new method to get transaction state
60- Use proper Python constants where appropriate
61- Use Python versions of strtol, etc. Allows Win32 build.
62- Bug fixes and cleanups
64Version 3.5 (2004-08-29)
66Fixes and enhancements:
68- Add interval to list of data types
69- fix up method wrapping especially close()
70- retry pkeys once if table missing in case it was just added
71- wrap query method separately to handle debug better
72- use isinstance instead of type
73- fix free/PQfreemem issue - finally
74- miscellaneous cleanups and formatting
76Version 3.4 (2004-06-02)
78Some cleanups and fixes.
79This is the first version where PyGreSQL is moved back out of the
80PostgreSQL tree. A lot of the changes mentioned below were actually
81made while in the PostgreSQL tree since their last release.
83- Allow for larger integer returns
84- Return proper strings for true and false
85- Cleanup convenience method creation
86- Enhance debugging method
87- Add reopen method
88- Allow programs to preload field names for speedup
89- Move OID handling so that it returns long instead of int
90- Miscellaneous cleanups and formatting
92Version 3.3 (2001-12-03)
94A few cleanups.  Mostly there was some confusion about the latest version
95and so I am bumping the number to keep it straight.
97- Added NUMERICOID to list of returned types. This fixes a bug when
98  returning aggregates in the latest version of PostgreSQL.
100Version 3.2 (2001-06-20)
102Note that there are very few changes to PyGreSQL between 3.1 and 3.2.
103The main reason for the release is the move into the PostgreSQL
104development tree.  Even the WIN32 changes are pretty minor.
106- Add Win32 support (
107- Fix some DB-API quoting problems (
108- Moved development into PostgreSQL development tree.
110Version 3.1 (2000-11-06)
112- Fix some quoting functions.  In particular handle NULLs better.
113- Use a method to add primary key information rather than direct
114  manipulation of the class structures
115- Break decimal out in `_quote` (in and treat it as float
116- Treat timestamp like date for quoting purposes
117- Remove a redundant SELECT from the `get` method speeding it,
118  and `insert` (since it calls `get`) up a little.
119- Add test for BOOL type in typecast method to `pgdbTypeCache` class
120  (
121- Fix to send port as integer to lower level function
122  (
123- Change to speed up some operations
124- Allow updates on tables with no primary keys
126Version 3.0 (2000-05-30)
128- Remove strlen() call from pglarge_write() and get size from object
129  (
130- Add a little more error checking to the quote function in the wrapper
131- Add extra checking in `_quote` function
132- Wrap query in for debugging
133- Add DB-API 2.0 support to pgmodule.c (
134- Add DB-API 2.0 wrapper (
135- Correct keyword clash (temp) in tutorial
136- Clean up layout of tutorial
137- Return NULL values as None (
138  (WARNING: This will cause backwards compatibility issues)
139- Change None to NULL in insert and update
140- Change hash-bang lines to use /usr/bin/env
141- Clearing date should be blank (NULL) not TODAY
142- Quote backslashes in strings in `_quote` (brian@CSUA.Berkeley.EDU)
143- Expanded and clarified build instructions (
144- Make code thread safe (
145- Add README.distutils ( &
146- Many fixes and increased DB-API compliance by,
147, and others to get the final
148  version ready to release.
150Version 2.4 (1999-06-15)
152- Insert returns None if the user doesn't have select permissions
153  on the table.  It can (and does) happen that one has insert but
154  not select permissions on a table.
155- Added ntuples() method to query object (
156- Corrected a bug related to getresult() and the money type
157- Corrected a bug related to negative money amounts
158- Allow update based on primary key if munged oid not available and
159  table has a primary key
160- Add many __doc__ strings (
161- Get method works with views if key specified
163Version 2.3 (1999-04-17)
165- returns "localhost" when connected to Unix socket
166  (
167- Use `PyArg_ParseTupleAndKeywords` in connect() (
168- fixes and cleanups (
169- Fixed memory leak in dictresult() (
170- Deprecated - functionality now in
171- More cleanups to the tutorial
172- Added fileno() method - (Mikhail Terekhov)
173- added money type to quoting function
174- Compiles cleanly with more warnings turned on
175- Returns PostgreSQL error message on error
176- Init accepts keywords (Jarkko Torppa)
177- Convenience functions can be overridden (Jarkko Torppa)
178- added close() method
180Version 2.2 (1998-12-21)
182- Added user and password support thanks to Ng Pheng Siong (
183- Insert queries return the inserted oid
184- Add new `pg` wrapper (C module renamed to _pg)
185- Wrapped database connection in a class
186- Cleaned up some of the tutorial.  (More work needed.)
187- Added `version` and `__version__`.
188  Thanks to for the suggestion.
190Version 2.1 (1998-03-07)
192- return fields as proper Python objects for field type
193- Cleaned up
194- Added dictresult method
196Version 2.0  (1997-12-23)
198- Updated code for PostgreSQL 6.2.1 and Python 1.5
199- Reformatted code and converted to use full ANSI style prototypes
200- Changed name to PyGreSQL (from PyGres95)
201- Changed order of arguments to connect function
202- Created new type `pgqueryobject` and moved certain methods to it
203- Added a print function for pgqueryobject
204- Various code changes - mostly stylistic
206Version 1.0b (1995-11-04)
208- Keyword support for connect function moved from library file to C code
209  and taken away from library
210- Rewrote documentation
211- Bug fix in connect function
212- Enhancements in large objects interface methods
214Version 1.0a (1995-10-30)
216A limited release.
218- Module adapted to standard Python syntax
219- Keyword support for connect function in library file
220- Rewrote default parameters interface (internal use of strings)
221- Fixed minor bugs in module interface
222- Redefinition of error messages
224Version 0.9b (1995-10-10)
226The first public release.
228- Large objects implementation
229- Many bug fixes, enhancements, ...
231Version 0.1a (1995-10-07)
233- Basic libpq functions (SQL access)
Note: See TracBrowser for help on using the repository browser.