psycopg2/tests
Daniele Varrazzo 99b3c72312 Some cleanup in mogrify
- Raise an exception on incomplete placeholders.
- Minor speedups.
- Don't change the string in place (??!!) if the placeholder is not s
  and the value is null.

The latter point can be done because downstream we don't accept anything
different from s anyway (in the Bytes_Format function).

Notice that now the format string is constant whatever the arguments.
This means that executemany is still more inefficient than it should be
as mogrify may work only on the parameters. However this is an
implementation only worthwhile if we start supporting real parameters.

Let's talk about that for the next release.
2011-02-18 02:33:42 +00:00
..
__init__.py Fixed linefeeds on merged files to unix linefeeds 2011-02-10 17:16:10 -07:00
bug_gc.py Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
bugX000.py Added license to unit tests 2011-01-09 23:44:35 +00:00
dbapi20_tpc.py hook up two phase commit tests. 2010-11-05 09:34:47 +00:00
dbapi20.py DBAPI compatibility test updated to 1.12. 2010-09-23 23:36:58 +01:00
extras_dictcursor.py Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
test_async.py Cleanup of skipping of testing methods on certain Py/PG versions 2011-02-15 17:11:07 +00:00
test_cancel.py Cleanup of skipping of testing methods on certain Py/PG versions 2011-02-15 17:11:07 +00:00
test_connection.py Merge remote branch 'jason/devel' into devel 2011-02-17 11:50:14 +00:00
test_copy.py Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
test_cursor.py Some cleanup in mogrify 2011-02-18 02:33:42 +00:00
test_dates.py Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
test_green.py Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
test_lobject.py Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
test_notify.py Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
test_psycopg2_dbapi20.py Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
test_quote.py Pulled down changes from dvarrazzo branch on gh 2011-02-10 15:59:31 -07:00
test_transaction.py Cleanup of skipping of testing methods on certain Py/PG versions 2011-02-15 17:11:07 +00:00
testconfig.py Fixed linefeeds on merged files to unix linefeeds 2011-02-10 17:16:10 -07:00
testutils.py Cleanup of skipping of testing methods on certain Py/PG versions 2011-02-15 17:11:07 +00:00
types_basic.py Adapt bytearray and memoryview to bytes if available 2011-02-15 17:30:43 +00:00
types_extras.py Merge remote branch 'upstream/devel' into devel 2011-02-10 16:07:38 -07:00