Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Adapt bytearray and memoryview to bytes if available | Daniele Varrazzo | 2011-02-15 | 1 | -8/+20 | |
| | | ||||||
* | | Cleanup of skipping of testing methods on certain Py/PG versions | Daniele Varrazzo | 2011-02-15 | 7 | -62/+74 | |
| | | ||||||
* | | Skip test if clock_timestamp function is not available | Daniele Varrazzo | 2011-02-15 | 1 | -1/+2 | |
| | | ||||||
* | | Dropped correct roundtrip of empty array | Daniele Varrazzo | 2011-02-15 | 1 | -2/+14 | |
|/ | | | | | | The feature in itself is not extremely useful and instead PostgreSQL is not always able to cast away from text[], which is a regression see (ticket #42). | |||||
* | Merge remote branch 'jason/devel' into devel | Daniele Varrazzo | 2011-02-12 | 4 | -9/+16 | |
|\ | ||||||
| * | Python 3 conversion failure on Windows | Jason Erickson | 2011-02-11 | 1 | -3/+7 | |
| | | | | | | | | | | | | | | Windows is not able to create a tempfile with NamedTemporaryFile and then open it with a second file handle without closing the first one. Added code to close the handle, and keep the file around a little longer so it can be reopened and rewritten to again. | |||||
| * | Merge branch 'devel' of git://github.com/dvarrazzo/psycopg into devel | Jason Erickson | 2011-02-11 | 1 | -2/+2 | |
| |\ | ||||||
| * | | Fixed linefeeds on merged files to unix linefeeds | Jason Erickson | 2011-02-10 | 2 | -117/+117 | |
| | | | | | | | | | | | | | | | Merge utility changed the linefeeds from unix to windows. Changed the linefeeds back to unix linefeeds. | |||||
| * | | Merge remote branch 'upstream/devel' into devel | Jason Erickson | 2011-02-10 | 2 | -38/+61 | |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: setup.py tests/__init__.py tests/testconfig.py | |||||
| * | | | Pulled down changes from dvarrazzo branch on gh | Jason Erickson | 2011-02-10 | 19 | -291/+630 | |
| | | | | | | | | | | | | | | | | | | | | Pulled the master branch from of Daniele's psycopg branch on github and merged the changes. | |||||
| * | | | Use tests.dsn for the dsn connection string | Jason Erickson | 2011-02-02 | 2 | -6/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using self.conn.dsn as the dsn connection string actually has the password 'x'ed out. The initial connection replaces the password with 'x' to obfuscate it. Using tests.dsn instead of self.conn.dsn ensures that the correct connection string is used. | |||||
| * | | | Add PSYCOPG2_TESTDB_PASSWORD variable for tests | Jason Erickson | 2011-02-02 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | Add a check for the PSYCOPG2_TESTDB_PASSWORD environment variable if the database user (or database settings) requires a password. | |||||
* | | | | Added test to check issue #40 | Daniele Varrazzo | 2011-02-12 | 1 | -0/+3 | |
| |_|/ |/| | | ||||||
* | | | Work around a 2to3 next fixer bug in a test | Daniele Varrazzo | 2011-02-11 | 1 | -2/+2 | |
| |/ |/| | ||||||
* | | Fixed mapping for composite types defined in a schema | Daniele Varrazzo | 2011-02-09 | 1 | -2/+25 | |
| | | ||||||
* | | Merge branch 'python3' into python2 | Federico Di Gregorio | 2011-02-06 | 19 | -202/+512 | |
|\ \ | ||||||
| * | | COPY sends unicode to a file if it derives from io.TextIoBase | Daniele Varrazzo | 2011-02-05 | 2 | -3/+70 | |
| | | | | | | | | | | | | Fixes ticket #36. | |||||
| * | | Fixed standard_conforming_strings filtering in Python 3 tests | Daniele Varrazzo | 2011-01-18 | 1 | -1/+1 | |
| | | | ||||||
| * | | Merge branch 'python2' into python3 | Daniele Varrazzo | 2011-01-18 | 3 | -30/+61 | |
| |\ \ | | |/ | | | | | | | | | | | | | Conflicts: tests/bug_gc.py tests/types_extras.py | |||||
| * | | A few large objects tests fixed | Daniele Varrazzo | 2011-01-10 | 1 | -9/+12 | |
| | | | | | | | | | | | | The behavior changed in Python 3 after the lobject-decode merge. | |||||
| * | | Large object mode parsing refactored | Daniele Varrazzo | 2011-01-10 | 1 | -3/+3 | |
| | | | | | | | | | | | | Added parsing of text/binary mode. | |||||
| * | | Added tests to check large objects decoding | Daniele Varrazzo | 2011-01-10 | 1 | -1/+26 | |
| | | | ||||||
| * | | Merge branch 'python2' into python3 | Daniele Varrazzo | 2011-01-10 | 18 | -30/+426 | |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: NEWS-2.3 tests/__init__.py tests/test_lobject.py tests/test_quote.py tests/testutils.py | |||||
| * | | | Avoid ResourceWarning in tests in Python 3.2 | Daniele Varrazzo | 2011-01-08 | 2 | -4/+20 | |
| | | | | ||||||
| * | | | Silence warnings due to deprecated TestCase methods | Daniele Varrazzo | 2011-01-08 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | With a veiled criticism. | |||||
| * | | | Merge branch 'python2' into python3 | Daniele Varrazzo | 2011-01-03 | 5 | -4/+42 | |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: NEWS-2.3 psycopg/connection_type.c tests/test_connection.py tests/types_basic.py | |||||
| * | | | | Fixed test suite execution as a script | Daniele Varrazzo | 2011-01-03 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't know why I changed the defaultTest argument into a function when I converted the test suite into a package: that argument should be really a string. | |||||
| * | | | | Merge branch 'python2' into python3 | Daniele Varrazzo | 2011-01-02 | 3 | -0/+188 | |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: NEWS-2.3 setup.py | |||||
| * | | | | | None/IN adaptation ported to Python 3. | Daniele Varrazzo | 2011-01-02 | 1 | -3/+3 | |
| | | | | | | ||||||
| * | | | | | Merge branch 'python2' into python3 | Daniele Varrazzo | 2011-01-01 | 2 | -1/+37 | |
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog NEWS-2.3 lib/extensions.py psycopg/microprotocols.c setup.py | |||||
| * | | | | | | Fixed notification tests to run on Py3. | Daniele Varrazzo | 2010-12-31 | 2 | -1/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Call 2to3 on the dynamically generated scripts. | |||||
| * | | | | | | Several tests ported to Python 3. | Daniele Varrazzo | 2010-12-31 | 4 | -44/+54 | |
| | | | | | | | ||||||
| * | | | | | | Inet adapter compatible with Python 3. | Daniele Varrazzo | 2010-12-31 | 1 | -2/+2 | |
| | | | | | | | ||||||
| * | | | | | | Hstore adapter compatible with Python 3. | Daniele Varrazzo | 2010-12-31 | 1 | -15/+20 | |
| | | | | | | | ||||||
| * | | | | | | Use ascii_letters instead of letters. | Daniele Varrazzo | 2010-12-31 | 1 | -6/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The latter is locale-dependent and not available on Py3. | |||||
| * | | | | | | Added tests to verify a couple of incomplete encodings. | Daniele Varrazzo | 2010-12-31 | 1 | -1/+51 | |
| | | | | | | | ||||||
| * | | | | | | Added regression test on bool adaptation. | Daniele Varrazzo | 2010-12-31 | 1 | -0/+6 | |
| | | | | | | | ||||||
| * | | | | | | Test on basic adapters pass on Python 3. | Daniele Varrazzo | 2010-12-31 | 2 | -15/+108 | |
| | | | | | | | ||||||
| * | | | | | | Empty lists correctly roundtrip. | Daniele Varrazzo | 2010-12-31 | 1 | -3/+4 | |
| | | | | | | | ||||||
| * | | | | | | Test suite converted into a proper package. | Daniele Varrazzo | 2010-12-21 | 18 | -106/+96 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dropped cyclic import from modules to tests: they were only working because a second copy of the package was found in the project dir. Use relative import so that 2to3 can do a good conversion. | |||||
| * | | | | | | Fixed PG -> Py encodings mapping with non-alnum chars. | Daniele Varrazzo | 2010-12-21 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| * | | | | | | Some light cleanup for Py3 conversion. | Daniele Varrazzo | 2010-12-21 | 3 | -11/+11 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Either flagged as warning by python2.6 -3 or converted by 2to3. | |||||
* | | | | | | | Fetch 'arraysize' records per roundtrip in named cursors iteration | Daniele Varrazzo | 2011-02-05 | 1 | -0/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes ticket #33. | |||||
* | | | | | | | Added test to verify named cursor efficiency. | Daniele Varrazzo | 2011-02-01 | 1 | -0/+14 | |
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | Iter shouldn't fetch one record at time. | |||||
* | | | | | | Skip composite type tests if the server doesn't support them | Daniele Varrazzo | 2011-01-18 | 1 | -0/+18 | |
| | | | | | | ||||||
* | | | | | | Skip GC bug test if uuid is not available | Daniele Varrazzo | 2011-01-18 | 3 | -25/+35 | |
| | | | | | | ||||||
* | | | | | | Fixed hstore test in PG 9.x with standard_conforming_strings off | Daniele Varrazzo | 2011-01-18 | 1 | -4/+7 | |
| | | | | | | ||||||
* | | | | | | Fixed check for pg_sleep availability in tests | Daniele Varrazzo | 2011-01-18 | 1 | -1/+1 | |
| |_|_|_|/ |/| | | | | | | | | | | | | | | The function is available since PG 8.2. | |||||
* | | | | | Invalidate large objects after a two-phase commit operation | Daniele Varrazzo | 2011-01-10 | 1 | -2/+27 | |
| | | | | | ||||||
* | | | | | Fixed segfault in large object close. | Daniele Varrazzo | 2011-01-10 | 1 | -0/+9 | |
| | | | | | | | | | | | | | | | | | | | | Check that the connection is not closed/faulty before attempting lo_close. |