psycopg2/psycopg
James Henstridge 46bf23caf4 * tests/__init__.py (test_suite): add date tests to test suite.
* tests/test_dates.py: add tests for date/time typecasting and
	adaption.

	* psycopg/adapter_mxdatetime.c (mxdatetime_str): add support for
	outputting BC dates (which involves switching them to one-based
	dates).  Also remove broken handling of microseconds.

	* psycopg/typecast.c (typecast_parse_date): if the string ends
	with "BC" adjust the year value to be a zero-based BC value as
	used by mx.DateTime (datetime doesn't support BC dates).
	(typecast_parse_time): ignore ' ', 'B' and 'C' in time strings
	rather than treating them as part of the seconds part of the time.
2008-01-16 01:43:50 +00:00
..
adapter_asis.c * psycopg/typecast_array.c (typecast_array_scan): set an initial 2008-01-13 16:05:59 +00:00
adapter_asis.h Fixed both Python 2.5 and 64 bit problems. 2007-04-10 06:36:18 +00:00
adapter_binary.c * psycopg/typecast_array.c (typecast_array_scan): set an initial 2008-01-13 16:05:59 +00:00
adapter_binary.h Fixed both Python 2.5 and 64 bit problems. 2007-04-10 06:36:18 +00:00
adapter_datetime.c * psycopg/typecast_array.c (typecast_array_scan): set an initial 2008-01-13 16:05:59 +00:00
adapter_datetime.h Fixed both Python 2.5 and 64 bit problems. 2007-04-10 06:36:18 +00:00
adapter_list.c * psycopg/typecast_array.c (typecast_array_scan): set an initial 2008-01-13 16:05:59 +00:00
adapter_list.h Fixed both Python 2.5 and 64 bit problems. 2007-04-10 06:36:18 +00:00
adapter_mxdatetime.c * tests/__init__.py (test_suite): add date tests to test suite. 2008-01-16 01:43:50 +00:00
adapter_mxdatetime.h Fixed both Python 2.5 and 64 bit problems. 2007-04-10 06:36:18 +00:00
adapter_pboolean.c * psycopg/typecast_array.c (typecast_array_scan): set an initial 2008-01-13 16:05:59 +00:00
adapter_pboolean.h Fixed both Python 2.5 and 64 bit problems. 2007-04-10 06:36:18 +00:00
adapter_qstring.c * psycopg/typecast_array.c (typecast_array_scan): set an initial 2008-01-13 16:05:59 +00:00
adapter_qstring.h Fixed both Python 2.5 and 64 bit problems. 2007-04-10 06:36:18 +00:00
config.h 2007-12-22 James Henstridge <james@jamesh.id.au> 2007-12-22 13:03:41 +00:00
connection_int.c * psycopg/typecast_array.c (typecast_array_scan): set an initial 2008-01-13 16:05:59 +00:00
connection_type.c 2007-12-23 James Henstridge <james@jamesh.id.au> 2008-01-10 06:14:20 +00:00
connection.h Use escape string syntax for string escape if connected to a server 2007-11-11 08:53:44 +00:00
cursor_int.c Fixed both Python 2.5 and 64 bit problems. 2007-04-10 06:36:18 +00:00
cursor_type.c * psycopg/typecast_array.c (typecast_array_scan): set an initial 2008-01-13 16:05:59 +00:00
cursor.h Various fixes, now all examples work. 2007-04-13 14:07:11 +00:00
microprotocols_proto.c Fixed both Python 2.5 and 64 bit problems. 2007-04-10 06:36:18 +00:00
microprotocols_proto.h Fixed both Python 2.5 and 64 bit problems. 2007-04-10 06:36:18 +00:00
microprotocols.c Fixed both Python 2.5 and 64 bit problems. 2007-04-10 06:36:18 +00:00
microprotocols.h Fixed both Python 2.5 and 64 bit problems. 2007-04-10 06:36:18 +00:00
pgtypes.h Added aync.txt to distribution. 2005-11-29 12:01:46 +00:00
pgversion.h Initial psycopg 2 import after SVN crash. 2004-10-19 03:17:12 +00:00
pqpath.c * psycopg/typecast_array.c (typecast_array_scan): set an initial 2008-01-13 16:05:59 +00:00
pqpath.h * psycopg/connection_int.c (conn_close): fix for new 2008-01-10 18:14:44 +00:00
psycopg.h * psycopg/pqpath.c (pq_raise): only remove the first 8 characters 2007-12-19 14:29:03 +00:00
psycopgmodule.c 2007-12-22 James Henstridge <james@jamesh.id.au> 2007-12-22 13:03:41 +00:00
python.h Fixed both Python 2.5 and 64 bit problems. 2007-04-10 06:36:18 +00:00
typecast_array.c * psycopg/typecast_array.c (typecast_array_scan): set an initial 2008-01-13 16:05:59 +00:00
typecast_basic.c Fixed bug #192 (Decimal support not safe for use with multiple sub 2007-10-21 03:22:55 +00:00
typecast_basic.c.old Initial psycopg 2 import after SVN crash. 2004-10-19 03:17:12 +00:00
typecast_binary.c typecast_binary.c cleanup. 2007-04-13 01:17:54 +00:00
typecast_binary.h Fixed both Python 2.5 and 64 bit problems. 2007-04-10 06:36:18 +00:00
typecast_builtins.c Fixed very stupid typo that resulted in a very big bug (reported by Andrea Arcangeli.) 2005-12-06 05:38:39 +00:00
typecast_datetime.c int->size_t transition. 2007-04-13 01:16:22 +00:00
typecast_mxdatetime.c int->size_t transition. 2007-04-13 01:16:22 +00:00
typecast.c * tests/__init__.py (test_suite): add date tests to test suite. 2008-01-16 01:43:50 +00:00
typecast.h int->size_t transition. 2007-04-13 01:16:22 +00:00