Commit Graph

68 Commits

Author SHA1 Message Date
Jon Dufresne
432fdd7d32 Removed support for mxDateTime as the default date and time adapter
The use_pydatetime configuration option has been removed. Now, always
default to Python's builtin datetime. mxDatetime support continues to be
available as an alternative to Python's builtin datetime.
2019-03-16 16:36:49 +00:00
Daniele Varrazzo
4298718978 Dropped PSYCOPG_DISPLAY_SIZE build parameter
Big and complex _pq_fetch_tuples simplified by moving per-column
calculation to a separate function.
2019-01-25 17:31:39 +00:00
Jon Dufresne
5ddac80cec Include license file in the generated wheel package
The wheel package format supports including the license file. This is
done using the [metadata] section in the setup.cfg file. For additional
information on this feature, see:

https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file
2017-11-26 10:42:30 -08:00
Daniele Varrazzo
d48d4bab05 Added empty options in setup.cfg
Setuptools removes them from the sdist, see #453
2016-12-25 19:46:09 +01:00
Daniele Varrazzo
1d729ab40e Dropped HAVE_PQFREEMEM flag
It was necessary before PG 7.4, in versions which have long been unsupported.
2014-08-24 01:43:12 +01:00
Daniele Varrazzo
68a4308c3d Dropped PSYCOPG_NEW_BOOLEAN flag
Introduced in 2.0 beta 8, 2006 A.D. Went absolutely untouched in 8 years
of refactoring, when Python 2.5 and PostgreSQL 8.1 roamed the earth.

I would say it has stood the test of the time.
2014-08-24 01:25:02 +01:00
Daniele Varrazzo
6e841a41e6 Dropped PSYCOPG_EXTENSIONS flag
Building without extensions has been long broken and nobody really cares
about a pure-DBAPI implementation (which could be created using a wrapper
instead).
2014-08-23 19:30:48 +01:00
Piotr Kasprzyk
31b6ec63f8 Fix multiple misspellings 2013-04-26 09:59:40 +01:00
Daniele Varrazzo
cb6baff8e0 Dropped build dirs entries from setup.cfg
They were not used anymore after pg_config had become mandatory to build the
module.  Thanks to Steven Winfield for the report (ticket #109).
2012-05-23 11:02:05 +01:00
Nate Eagleson
1bc73896dc Clean up comments in setup.cfg 2012-02-22 11:59:48 +00:00
Daniele Varrazzo
a88d7ab424 Dropped support for protocol 2.
Dropped both the setup constant allowing conditional compiling and the
code specific to V2 protocol (mostly COPY and error handling).
2010-11-16 01:08:50 +00:00
Daniele Varrazzo
6e71b3db05 Dropped PSYCOPG_OWN_QUOTING.
It was deprecated for version 2.1. There are bugs to be fixed made more
complex by its presence and it doesn't keep into account PostgreSQL 9.0
new binary format.

Time to go!
2010-10-08 12:27:47 +01:00
Federico Di Gregorio
9670c9eddc Enabled linking to static libpq 2009-10-04 12:43:30 +02:00
Federico Di Gregorio
d621c02e58 Preparing release 2.0.10 2009-04-20 20:34:06 +02:00
Federico Di Gregorio
e3a5ae8e20 Added a couple of test scripts to sandbox 2009-04-19 16:25:49 +02:00
Federico Di Gregorio
a6dff6c82a Preparing release 2.0.9 2009-02-22 23:37:34 +01:00
James Henstridge
83b03e5e36 If we are depending on Python 2.4, we don't need to make decimal module
support conditional.
2008-12-27 00:03:11 +09:00
Federico Di Gregorio
b92601306e Added suppport for UUID and related test. 2008-09-19 21:25:16 +02:00
Federico Di Gregorio
758eaf23d1 Preparing release 2.0.8 2008-09-16 09:58:44 +02:00
Federico Di Gregorio
5a428642f8 COPY problem tests and partial fix 2008-05-27 17:40:19 +02:00
Federico Di Gregorio
f3438f2961 Preparing release 2.0.7. 2008-04-14 04:27:22 +00:00
James Henstridge
9fa039326c * setup.cfg (define): remove PSYCOPG_DISPLAY_SIZE from default
list of defines, as discussed on mailing list.  It slows down
	queries with very little benefit.
2008-01-21 05:59:03 +00:00
Federico Di Gregorio
07892b29a6 Aggressive threading on fetch (and a new bug!) 2007-09-19 13:39:48 +00:00
Federico Di Gregorio
dfda372fae Preparing release 2.0.6. 2007-06-08 00:39:06 +00:00
Federico Di Gregorio
d6e232e2b9 Various fixes, now all examples work. 2007-04-13 14:07:11 +00:00
Federico Di Gregorio
ee44315ff2 Appliet Jasons patch to fix win32 build glitches. 2007-04-13 01:14:01 +00:00
Federico Di Gregorio
f57920b0dd Release 2.0.6b2. 2007-04-11 07:12:16 +00:00
Federico Di Gregorio
2a6b523506 Fixed crash and win32 patches. 2007-04-11 04:16:00 +00:00
Federico Di Gregorio
6598a279e2 Added support for per-cursor and per-connection typecasters. 2007-02-22 15:16:54 +00:00
Federico Di Gregorio
1c16009985 Added support for NULL in arrays (closes: #154) 2007-01-19 14:08:06 +00:00
Federico Di Gregorio
2883428791 Lets do a beta release. 2007-01-19 03:40:27 +00:00
Federico Di Gregorio
5c425f5294 Check for Python errors during copy (closes: #134). 2007-01-16 12:03:29 +00:00
Federico Di Gregorio
0f5e4e7340 Fixed #136. 2006-10-21 07:39:16 +00:00
Federico Di Gregorio
f204da89b5 Preparing release 2.0.3. 2006-07-31 00:27:12 +00:00
Federico Di Gregorio
07be5df881 Fix for #93. 2006-06-11 05:09:59 +00:00
Federico Di Gregorio
39249e4741 Really preparing 2.0. (Yes, it is real. Sure. As promised. Reallyreallyreally. You can bet. Somebody just bomb Django developers, please. C8E, you see? I see you! You are grinning!) 2006-06-08 00:45:43 +00:00
Federico Di Gregorio
429fd4f1d7 Zope DA fixes and preparing 2.0. 2006-06-07 23:33:47 +00:00
Federico Di Gregorio
3806f9688b Boolean fix for arrays. 2006-04-24 05:42:02 +00:00
Daniele Varrazzo
3076046b3f * libpq.dll not used anymore. win32 setup uses pg_config too.
* Some typo fixed.
2006-01-05 16:56:40 +00:00
Federico Di Gregorio
d5674253ca We now use pg_config in setup.py (closes: #70). 2006-01-05 04:19:01 +00:00
Daniele Varrazzo
c79e92e928 Empty options cause generation of invalid "-l" and "-L" options with no
argument. Such options halt windows' ld.exe.
2006-01-03 09:23:48 +00:00
Federico Di Gregorio
7db16edad3 Connection encoding case fix (closes: #83). 2006-01-01 09:10:17 +00:00
Federico Di Gregorio
31d85750b0 mx_include_dir in setup.cfg. 2005-12-11 08:05:49 +00:00
Federico Di Gregorio
61de8690e9 Fixed problem with "fractionary" time zones (Closes: #78). 2005-12-11 07:50:27 +00:00
Federico Di Gregorio
4261bc3371 Slightly more readable setup.cfg. 2005-11-29 11:50:43 +00:00
Federico Di Gregorio
985a6cbc1b Release 2.0 beta 6. 2005-11-17 06:23:08 +00:00
Federico Di Gregorio
996bd07c85 Definitely fixed date and time adapting problems (for mx too!) 2005-11-16 17:30:45 +00:00
Federico Di Gregorio
000aa345ac Preparing release 2.0 beta 6. 2005-11-16 13:54:35 +00:00
Federico Di Gregorio
96b2541939 Better fix for py2exe and related tools. 2005-11-15 16:05:15 +00:00
Federico Di Gregorio
164eb32817 New time/date locale-safe typecasting code. 2005-11-14 11:57:45 +00:00