Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							f697410ab4 
							
						 
					 
					
						
						
							
							The tests are run from the external of the package.  
						
						... 
						
						
						
						If __init__ is treated as a script, relative import fail. 
						
					 
					
						2010-12-21 04:49:16 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							cb6b52945b 
							
						 
					 
					
						
						
							
							The library can be compiled with Python 3.  
						
						... 
						
						
						
						Just compiled! No test run yet and many points to review, marked in the
code.
The patch is largely Martin von Löwis work, simplified after refactoring
in the previous commits and adapted to the new code (as the patch was
originally for Psycopg 2.0.9) 
						
					 
					
						2010-12-21 04:24:36 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							e182201e6e 
							
						 
					 
					
						
						
							
							Added Python codec name to the connection.  
						
						... 
						
						
						
						This allows dropping repeated dictionary lookups with unicode
query/parameters. 
						
					 
					
						2010-12-21 04:02:14 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							ae06fb03e7 
							
						 
					 
					
						
						
							
							Added psycopg_strdup utility function.  
						
						
						
					 
					
						2010-12-21 04:02:14 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							a50a91fc7b 
							
						 
					 
					
						
						
							
							No need to put connection fields to zero: tp_alloc already did.  
						
						
						
					 
					
						2010-12-21 04:02:14 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							7b5d80d36d 
							
						 
					 
					
						
						
							
							Added a few missing encodings.  
						
						... 
						
						
						
						EUC_CN, EUC_JIS_2004, ISO885910, ISO885916, LATIN10, SHIFT_JIS_2004. 
						
					 
					
						2010-12-21 04:02:14 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							657bcb4828 
							
						 
					 
					
						
						
							
							Encodings mapping reordered in a more maintainable order.  
						
						
						
					 
					
						2010-12-21 04:02:14 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							b96dcef8a2 
							
						 
					 
					
						
						
							
							Fixed PG -> Py encodings mapping with non-alnum chars.  
						
						... 
						
						
						
						We mangle the encoding names a little bit before asking it to the
backend: be sure to be able to find the equivalent Python code back or
decoding (unicode cast or Py3) will barf. 
						
					 
					
						2010-12-21 04:02:14 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							4635c2aa4f 
							
						 
					 
					
						
						
							
							Import structmember/stringobject headers from python.h.  
						
						... 
						
						
						
						stringobject is not to be imported with Python 3. 
						
					 
					
						2010-12-21 04:02:13 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							9b30147341 
							
						 
					 
					
						
						
							
							Using PyVarObject_HEAD_INIT macro.  
						
						
						
					 
					
						2010-12-21 04:02:13 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							8dfa9915eb 
							
						 
					 
					
						
						
							
							Using Py_TYPE and Py_REFCNT macros.  
						
						
						
					 
					
						2010-12-21 04:02:13 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							2196ff5488 
							
						 
					 
					
						
						
							
							Added a few compatibility macros defined in Py 2.6.  
						
						
						
					 
					
						2010-12-21 04:02:13 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							9b29282ee4 
							
						 
					 
					
						
						
							
							'make check' runs the test in the build directory.  
						
						... 
						
						
						
						This way tests can be run win Py3 too, as the setup 2to3s them. 
						
					 
					
						2010-12-21 04:02:13 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							31093a7a58 
							
						 
					 
					
						
						
							
							Some light cleanup for Py3 conversion.  
						
						... 
						
						
						
						Either flagged as warning by python2.6 -3 or converted by 2to3. 
						
					 
					
						2010-12-21 04:02:13 +00:00 
						 
				 
			
				
					
						
							
							
								Federico Di Gregorio 
							
						 
					 
					
						
						
						
						
							
						
						
							69c66a3a3f 
							
						 
					 
					
						
						
							
							Preparing release 2.3.2  
						
						
						
					 
					
						2010-12-20 13:33:21 +01:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							ddd2de0410 
							
						 
					 
					
						
						
							
							Updated ChangeLog/NEWS after ticket  #24  patch commit.  
						
						
						
					 
					
						2010-12-18 15:38:56 +00:00 
						 
				 
			
				
					
						
							
							
								Marti Raudsepp 
							
						 
					 
					
						
						
						
						
							
						
						
							a08419406c 
							
						 
					 
					
						
						
							
							Don't segfault when PQparameterStatus(DateStyle) returns NULL  
						
						... 
						
						
						
						pgbouncer for example does not pass on DateStyle. 
						
					 
					
						2010-12-18 15:27:15 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							5a0cfad95f 
							
						 
					 
					
						
						
							
							Bump to next dev version.  
						
						
						
					 
					
						2010-12-18 15:25:53 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							a30e461038 
							
						 
					 
					
						
						
							
							The Makefile can run with both Python 2 and 3.  
						
						
						
					 
					
						2010-12-12 16:20:02 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							8a1fa9d3a0 
							
						 
					 
					
						
						
							
							setup.py compatible with both python 2 and 3.  
						
						
						
					 
					
						2010-12-12 15:08:28 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							ec182e818e 
							
						 
					 
					
						
						
							
							Added list of files the extension depends on.  
						
						
						
					 
					
						2010-12-12 14:38:25 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							89f70bdb3c 
							
						 
					 
					
						
						
							
							Changed Python const RO -> READONLY.  
						
						
						
					 
					
						2010-12-12 13:39:32 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							6d7916cfe1 
							
						 
					 
					
						
						
							
							Internal imports simplified.  
						
						... 
						
						
						
						.c files only need to import psycopg.h: it will in turn import
dependencies from Python and libpq and configure.h. psycopg.h should be
the first to be imported, so the basic imports are not required in
the .h's
As a guideline I'm trying to import from the most specific to the most
generic to detect missing imports in the .h's. 
						
					 
					
						2010-12-12 13:39:32 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							9fa1eac2b4 
							
						 
					 
					
						
						
							
							Dropped unused include file.  
						
						
						
					 
					
						2010-12-12 13:39:32 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							0fbbd1cc91 
							
						 
					 
					
						
						
							
							Bump to next dev version.  
						
						
						
					 
					
						2010-12-12 13:39:32 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							cf243ccf37 
							
						 
					 
					
						
						
							
							Shorter "never ending query" to test query canceling.  
						
						... 
						
						
						
						If the cancel signal misses the race, this query will stay in the
backend until the sleep expires. 
						
					 
					
						2010-12-04 23:21:16 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							13c2f5a78b 
							
						 
					 
					
						
						
							
							Added target to package the docs for PyPI documentation.  
						
						
						
					 
					
						2010-12-04 23:14:03 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							9e9933faed 
							
						 
					 
					
						
						
							
							Update classifier URLs for PyPI.  
						
						
						
					 
					
						2010-12-04 23:14:03 +00:00 
						 
				 
			
				
					
						
							
							
								Federico Di Gregorio 
							
						 
					 
					
						
						
						
						
							
						
						
							ee5015a30b 
							
						 
					 
					
						
						
							
							Preparing release 2.3.1  
						
						
						
					 
					
						2010-12-04 21:24:02 +01:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							557e28d744 
							
						 
					 
					
						
						
							
							Dropped interface for two private functions.  
						
						... 
						
						
						
						Note: the functions are private because typecast.c imports the .c's of
typecast_[mx]datetime, not the .h's.
Work around the warning for 'skip_until_space' not used with an #ifdef.
Furthermore, those functions are now static. 
						
					 
					
						2010-12-04 13:51:21 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							288f9ee809 
							
						 
					 
					
						
						
							
							Work around CentOS 5.5 x86_64 buld problem.  
						
						... 
						
						
						
						Closes ticket #23  
						
					 
					
						2010-12-04 13:51:21 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							ebd73c14a8 
							
						 
					 
					
						
						
							
							Going to dev version for 2.3.1.  
						
						
						
					 
					
						2010-12-04 13:43:28 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							9c71a9c6e5 
							
						 
					 
					
						
						
							
							Added link to psycogreen.  
						
						
						
					 
					
						2010-12-02 17:13:13 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							bde523695a 
							
						 
					 
					
						
						
							
							Fixed index entries of green-related terms.  
						
						
						
					 
					
						2010-12-02 15:15:31 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							4bd8f8c76b 
							
						 
					 
					
						
						
							
							Typo/tenso fixed.  
						
						
						
					 
					
						2010-12-02 15:07:17 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							593cd20b4a 
							
						 
					 
					
						
						
							
							Added index entries under Adaptation for different objects.  
						
						
						
					 
					
						2010-12-02 15:06:27 +00:00 
						 
				 
			
				
					
						
							
							
								Federico Di Gregorio 
							
						 
					 
					
						
						
						
						
							
						
						
							2dae07a796 
							
						 
					 
					
						
						
							
							Preparing release 2.3.0  
						
						
						
					 
					
						2010-12-02 14:41:58 +01:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							46a5f140c7 
							
						 
					 
					
						
						
							
							Bail out early from tests if connection to the test db fails.  
						
						
						
					 
					
						2010-12-01 20:56:25 +00:00 
						 
				 
			
				
					
						
							
							
								Federico Di Gregorio 
							
						 
					 
					
						
						
						
						
							
						
						
							5f80dd38c4 
							
						 
					 
					
						
						
							
							Removed runtests target; checks is the default for Makefiles  
						
						
						
					 
					
						2010-12-01 21:55:42 +01:00 
						 
				 
			
				
					
						
							
							
								Federico Di Gregorio 
							
						 
					 
					
						
						
						
						
							
						
						
							a411f85354 
							
						 
					 
					
						
						
							
							Removed default test database from Makefile  
						
						... 
						
						
						
						The default is already in test/__init__.py and the Makefile was
overwriting the PSYCOPG2_TESTDB env variable. 
						
					 
					
						2010-12-01 21:29:33 +01:00 
						 
				 
			
				
					
						
							
							
								Federico Di Gregorio 
							
						 
					 
					
						
						
						
						
							
						
						
							f981e81813 
							
						 
					 
					
						
						
							
							Merge remote branch 'piro/python2' into python2  
						
						
						
					 
					
						2010-12-01 19:47:44 +01:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							6688e7011c 
							
						 
					 
					
						
						
							
							Typos fixed in the news.  
						
						
						
					 
					
						2010-12-01 13:21:16 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							0ad7483a2b 
							
						 
					 
					
						
						
							
							DictRow items can be updated. Patch by Alex Aster.  
						
						
						
					 
					
						2010-12-01 13:17:12 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							6f2d40405e 
							
						 
					 
					
						
						
							
							Added documentation for ISQLQuote.prepare().  
						
						
						
					 
					
						2010-11-28 18:26:30 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							361786f4a8 
							
						 
					 
					
						
						
							
							More careful connections handling during tests.  
						
						
						
					 
					
						2010-11-28 17:29:37 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							598b9424d2 
							
						 
					 
					
						
						
							
							Deal uniformly with test servers without pg_sleep.  
						
						
						
					 
					
						2010-11-28 17:29:36 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							2b6d2017ed 
							
						 
					 
					
						
						
							
							Added paranoia test to check we haven't broken gil release.  
						
						... 
						
						
						
						Got scared testing cancel with a signal as it doesn't work. But probably
signals are not deliveded to Python in the middle of an opcode. 
						
					 
					
						2010-11-28 17:29:35 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							0c7b0a943b 
							
						 
					 
					
						
						
							
							A prepared connection can't be canceled.  
						
						
						
					 
					
						2010-11-28 12:15:26 +00:00 
						 
				 
			
				
					
						
							
							
								Daniele Varrazzo 
							
						 
					 
					
						
						
						
						
							
						
						
							4dbd4344a3 
							
						 
					 
					
						
						
							
							Mention query cancelling in the release notes.  
						
						
						
					 
					
						2010-11-28 12:14:04 +00:00 
						 
				 
			
				
					
						
							
							
								Jan Urbański 
							
						 
					 
					
						
						
						
						
							
						
						
							751bfa1ea6 
							
						 
					 
					
						
						
							
							Support query cancellation.  
						
						... 
						
						
						
						Add a cancel() method do the connection object that will interrupt
the current query using the libpq PQcancel() function. 
						
					 
					
						2010-11-28 11:50:02 +00:00