<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psycopg2.git/tests/test_connection.py, branch testmr</title>
<subtitle>github.com: psycopg/psycopg2.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/'/>
<entry>
<title>Added reason for skipping on CockroachDB</title>
<updated>2020-07-27T22:03:26+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2020-07-27T21:58:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=6eb4fab1dbed047166bca9b83114f416df41b757'/>
<id>6eb4fab1dbed047166bca9b83114f416df41b757</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip connection tests which cannot pass on CockroachDB</title>
<updated>2020-07-21T21:22:23+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2020-07-21T02:00:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=e154cbe5aab43e1b5a85c4467e5738a6dcd6fd69'/>
<id>e154cbe5aab43e1b5a85c4467e5738a6dcd6fd69</id>
<content type='text'>
Features not supported seem:

- isolation level (always serializable)
- client encodings
- notices (maybe there is a way to generate them)
- 2 phase commit
- reset (because of the lack of transaction deferrable)
- backend pid
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Features not supported seem:

- isolation level (always serializable)
- client encodings
- notices (maybe there is a way to generate them)
- 2 phase commit
- reset (because of the lack of transaction deferrable)
- backend pid
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle failure in setup of IsolationLevelsTestCase</title>
<updated>2020-07-07T22:48:44+00:00</updated>
<author>
<name>Rafi Shamim</name>
<email>rafi@cockroachlabs.com</email>
</author>
<published>2020-07-07T22:48:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=a61f30b2d26af134c89e040703d94239ea9a0bf6'/>
<id>a61f30b2d26af134c89e040703d94239ea9a0bf6</id>
<content type='text'>
If the CREATE TABLE statement fails, the setup would fail
without committing or rolling back the active transaction, so the
transaction would hold onto its resources indefinitely.

Normally, the transaction would be closed when the connection is closed
in the `tearDown` function. However, `tearDown` is not called if there
was an error during `setUp` ([as specified by the `unittest` docs](https://docs.python.org/3/library/unittest.html#unittest.TestCase.tearDown)), so
we need to handle this case specially.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the CREATE TABLE statement fails, the setup would fail
without committing or rolling back the active transaction, so the
transaction would hold onto its resources indefinitely.

Normally, the transaction would be closed when the connection is closed
in the `tearDown` function. However, `tearDown` is not called if there
was an error during `setUp` ([as specified by the `unittest` docs](https://docs.python.org/3/library/unittest.html#unittest.TestCase.tearDown)), so
we need to handle this case specially.
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle failure in setup of ConnectionTwoPhaseTest</title>
<updated>2020-05-12T16:48:35+00:00</updated>
<author>
<name>Rafi Shamim</name>
<email>rafi@cockroachlabs.com</email>
</author>
<published>2020-05-07T22:26:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=f935476b3f15dd1032a290b5d3ab12326dd91f24'/>
<id>f935476b3f15dd1032a290b5d3ab12326dd91f24</id>
<content type='text'>
Previously, this test had a bug, because if the CREATE TABLE statement
failed, the setup would fail without committing or rolling back the
active transaction.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, this test had a bug, because if the CREATE TABLE statement
failed, the setup would fail without committing or rolling back the
active transaction.
</pre>
</div>
</content>
</entry>
<entry>
<title>Copyright bumped to 2020</title>
<updated>2020-01-17T21:21:11+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2020-01-17T21:10:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=5e0b02afb2e4d7f1e046b301c23550289d6b5d57'/>
<id>5e0b02afb2e4d7f1e046b301c23550289d6b5d57</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow tests to be ignored if dynamic binding failed</title>
<updated>2019-03-18T19:49:16+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2019-03-18T19:49:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=953bc66ca66fd8bbc18086bba9218072a9dfb8e7'/>
<id>953bc66ca66fd8bbc18086bba9218072a9dfb8e7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'fix-829'</title>
<updated>2019-03-18T01:53:59+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2019-03-18T01:53:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=e569e49b8b65b98dcfcbbce5280e5132b582d513'/>
<id>e569e49b8b65b98dcfcbbce5280e5132b582d513</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow incorrect result for pgconn_ptr test on OSX</title>
<updated>2019-03-18T01:41:56+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2019-03-18T01:09:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=0c581380c72aeead6766449273798d8cc93f90e4'/>
<id>0c581380c72aeead6766449273798d8cc93f90e4</id>
<content type='text'>
I don't know why it returns 0 instead of the right value. At least it
doesn't segfault, so don't skip the test altogether.

The test is unrelated to this branch: will cherry-pick elsewhere (if I
remember it...)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I don't know why it returns 0 instead of the right value. At least it
doesn't segfault, so don't skip the test altogether.

The test is unrelated to this branch: will cherry-pick elsewhere (if I
remember it...)
</pre>
</div>
</content>
</entry>
<entry>
<title>subprocess test function moved into a module</title>
<updated>2019-03-17T23:55:04+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2019-03-17T23:55:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=62a078fe0cae5741cdf49c6ab5431083139f5253'/>
<id>62a078fe0cae5741cdf49c6ab5431083139f5253</id>
<content type='text'>
It won't work on windows if it's in the script: failing with errors
such as:

    AttributeError: 'module' object has no attribute 'process'

or:

    Can't get attribute 'process' on &lt;module '__main__' (built-in)&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It won't work on windows if it's in the script: failing with errors
such as:

    AttributeError: 'module' object has no attribute 'process'

or:

    Can't get attribute 'process' on &lt;module '__main__' (built-in)&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Added test to reproduce ticket #829</title>
<updated>2019-03-17T23:06:55+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2019-03-17T23:06:55+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=7c5afd6977c2d71a1a3f9550849580b75851a65b'/>
<id>7c5afd6977c2d71a1a3f9550849580b75851a65b</id>
<content type='text'>
Unrelated processes close the FD of the connection. This happens in
Python 3.6 but not 2.7. Let's see if travis shows where else it fails...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unrelated processes close the FD of the connection. This happens in
Python 3.6 but not 2.7. Let's see if travis shows where else it fails...
</pre>
</div>
</content>
</entry>
</feed>
