1178 Commits

Author SHA1 Message Date
Anthony Tuininga
2ed2c62111 Set native line endings on all text files. 2011-06-22 18:17:51 +00:00
Anthony Tuininga
03766e3363 Force server detach on close so that the connection is completely dead and not
just the session as previously.
2011-05-14 23:12:25 +00:00
Anthony Tuininga
12dbe607cd Remove redundant code used for determining library path. 2011-04-22 20:01:26 +00:00
Anthony Tuininga
5ef77d7eae Update the documentation in preparation for the new release. 2011-03-20 05:01:27 +00:00
Anthony Tuininga
bccdfccea8 Preparing to release 5.1. 2011-03-20 04:57:10 +00:00
Anthony Tuininga
79f8a9efc4 Update documentation for the addition of the typename argument to the
constructor of variable objects.
2011-03-20 04:55:42 +00:00
Anthony Tuininga
a9ebd12f76 Restore support for the encoding and nencoding attributes on a connection. 2011-03-15 16:18:26 +00:00
Anthony Tuininga
edd2387f1c Ignore .pyc files; needed for CentOS. 2011-02-19 03:56:57 +00:00
Anthony Tuininga
04f1904a7d Remove "unicode" mode and simply permit unicode to be used everywhere within
cx_Oracle; stop using "unicode" mode in the OCI as well since that appears to
have bugs in some places and doesn't really solve any problems anyway.
2011-02-19 03:50:16 +00:00
Anthony Tuininga
9be85a356c Free temporary LOBs prior to each fetch in order to avoid leaking them; thanks
to Uwe Hoffmann for the initial patch.
2011-01-04 05:55:54 +00:00
Anthony Tuininga
fb2e048851 Make AIX5 happy as OCIPing does not appear to be available on that platform
under Oracle 10g Release 2. Thanks to Pierre-Yves Fontaniere for the patch.
2011-01-01 05:07:20 +00:00
Anthony Tuininga
0665dff62b Remove unnecessary code. 2010-11-04 16:48:33 +00:00
Anthony Tuininga
cf2da5efc8 Check the result of freeing the handle if an exception should be raised; in
addition, null the handle so that a second attempt is not made when the cursor
is freed after close() has been called.
2010-11-04 16:36:09 +00:00
Anthony Tuininga
505018d577 Account for lib64 used on x86_64 systems. Thanks to Alex Wood for supplying the
patch.
2010-08-31 17:11:10 +00:00
Anthony Tuininga
b1b4c403fb Added support for creating an object variable via a named type -- the first
step on the road to adding full object support.
2010-07-31 05:32:30 +00:00
Anthony Tuininga
03df2d9ede Preparing to release version 5.0.4. 2010-07-14 05:08:19 +00:00
Anthony Tuininga
85d368a21d Added support for new parameter (port) for subscription() call which allows
the client to specify the listening port for callback notifications from
the database server. Thanks to Geoffrey Weber for the initial patch.
2010-07-14 04:40:11 +00:00
Anthony Tuininga
8c3a69664f Provide a bit more information in the error message produced. 2010-07-08 15:01:59 +00:00
Anthony Tuininga
52d6cc88c3 Added support for building with Python 3.x from an independently created
setup.py (as for cx_OracleDBATools, for example).
2010-06-01 03:38:25 +00:00
Anthony Tuininga
25274ca3fb Fix error message. 2010-05-28 18:10:12 +00:00
Anthony Tuininga
88666dbef7 Fix compilation under Oracle 9i. 2010-05-26 21:28:10 +00:00
Anthony Tuininga
33aa8fc246 Preparing to release version 5.0.3. 2010-02-05 05:25:13 +00:00
Anthony Tuininga
2646230de3 Bump copyright into 2010. 2010-02-05 05:13:25 +00:00
Anthony Tuininga
2a27248c94 Ensure that the data is stored as Unicode data as the original code stored the
byte string exactly as shown in Oracle 11g Release 2.
2010-01-29 05:01:08 +00:00
Anthony Tuininga
fc87c1df60 Enable building from within other setup.py scripts like those in
cx_OracleTools, for example.
2009-12-05 22:59:34 +00:00
Anthony Tuininga
309437003e Fixed bug when converting from decimal would result in OCI-22062 because
the locale decimal point was not a period. Thanks to Amaury Forgeot d'Arc
for the solution to this problem.
2009-11-20 05:53:37 +00:00
Anthony Tuininga
f3282b2ae2 Added check for attempts to call executemany() with arrays which are not
supported by the OCI; thanks to Amaury Forgeot d'Arc for the suggestion.
2009-11-20 05:42:57 +00:00
Anthony Tuininga
d2edff721d Set the PATH environment variable instead of ORACLE_HOME on Windows. 2009-10-23 13:21:56 +00:00
Anthony Tuininga
3c66a01739 Force termination with an error code if some tests fail. 2009-10-22 04:24:46 +00:00
Anthony Tuininga
4adc2550a1 Renamed to client_identifier as that is consistent with current_schema and is
also much more readable anyway.
2009-10-22 04:18:45 +00:00
Anthony Tuininga
a295178f22 Added support for setting the CLIENT_IDENTIFIER attribute on connections. 2009-10-21 05:08:56 +00:00
Anthony Tuininga
df6225a230 Added support for running the test suite on all of the Python and Oracle
versions configured for the machine.
2009-10-21 02:12:14 +00:00
Anthony Tuininga
4b63f554a5 Added support for running the test suite by running python setup.py test. 2009-10-21 01:24:52 +00:00
Anthony Tuininga
37362824f5 Ensure that Windows installer files also include the unicode designation when
appropriate.
2009-10-19 19:29:31 +00:00
Anthony Tuininga
c9c5f2316b Eliminate the spurious errors that take place because of the change in how
numbers without any constraints are represented in Oracle 11g.
2009-10-18 03:34:36 +00:00
Anthony Tuininga
e438e404b1 Tweaked release.py in order to use environment variables to define which Python
versions to use for the release and also how to execute it. This is primarily
because Mac OS X and 64-bit Windows do not support some of the older Python
versions very well.
2009-10-18 03:19:33 +00:00
Anthony Tuininga
e316a391e9 Tweaked documentation as requested by Alex Vanderwoude and in preparation for
the release of 5.0.3.
2009-10-18 03:04:50 +00:00
Anthony Tuininga
ab9ad78579 Added support for building "Unicode" builds independently of "normal" and get
ready for releasing these types of builds with any new release.
2009-10-11 04:33:25 +00:00
Anthony Tuininga
0c859f8b87 Added support for named arguments in callproc() and callfunc() which make use
of PL/SQL notation for making such calls.
2009-09-29 04:56:31 +00:00
Anthony Tuininga
1ef0f27b70 Change order of assignment in order to make VC++ happier. 2009-09-28 15:51:41 +00:00
Anthony Tuininga
dcf9cac457 Release for Python 3.1 and not any longer for Python 3.0. 2009-09-26 22:14:09 +00:00
Anthony Tuininga
fbd53fcee3 The newer versions of the instant client now simply replace "lib" with
"include" in order to determine where the include files are to be found.
2009-09-26 22:11:36 +00:00
Anthony Tuininga
2741b72310 Preliminary work in releasing 5.0.3; documentation still needs to be built. 2009-09-15 04:28:34 +00:00
Anthony Tuininga
1470723453 Use the OCI_ATTR_CHAR_SIZE attribute to determine the character size of the
value retrieved rather than attempt to assume things since the database
character set plays a role in how this is determined and that information is
not readily available. Thanks to Christopher Jones for the tip.
2009-09-15 03:55:03 +00:00
Anthony Tuininga
d1973cbb99 Fix comments. 2009-09-15 03:52:52 +00:00
Anthony Tuininga
36c1f4d7dd current_schema is only valid for Oracle 10.2 and higher. 2009-09-08 23:26:17 +00:00
Anthony Tuininga
057f7ee133 Move the resetting of the setinputsizes flag to before the binding takes place
so that if an error takes place and a new statement is prepared subsequently
that spurious errors will not occur.
2009-08-28 21:17:18 +00:00
Anthony Tuininga
32eb81df40 The struct module needs to be defined as a global as well in order to make
building as part of another setup.py possible.
2009-08-25 03:17:12 +00:00
Anthony Tuininga
dbb4fadc84 Added additional error codes to those treated as operational errors as
suggested by Christopher Jones.
2009-08-25 03:10:24 +00:00
Anthony Tuininga
16d30345e6 Add comment about maximum length that Oracle allows for the module attribute. 2009-08-14 15:56:28 +00:00