<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psycopg2.git/psycopg/green.c, branch separate-binary</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>Dropped PSYCOPG_EXTENSIONS flag</title>
<updated>2014-08-23T18:30:48+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2014-08-23T18:30:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=6e841a41e680f8c1570e97086cf923f923851e98'/>
<id>6e841a41e680f8c1570e97086cf923f923851e98</id>
<content type='text'>
Building without extensions has been long broken and nobody really cares
about a pure-DBAPI implementation (which could be created using a wrapper
instead).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Building without extensions has been long broken and nobody really cares
about a pure-DBAPI implementation (which could be created using a wrapper
instead).
</pre>
</div>
</content>
</entry>
<entry>
<title>Use the Py_RETURN_NONE macro</title>
<updated>2013-04-05T00:25:05+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2013-04-05T00:25:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=beea32ef03b6d0e599ae0f2b6b236da857e82077'/>
<id>beea32ef03b6d0e599ae0f2b6b236da857e82077</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Close the connection on error in callback</title>
<updated>2012-10-06T10:58:52+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2012-10-06T10:58:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=b61a2a34c40e9b6e8774178e553a2e81eb889f06'/>
<id>b61a2a34c40e9b6e8774178e553a2e81eb889f06</id>
<content type='text'>
Unfortunately PQcancel blocks, so it's not better than PQgetResult.
It has been suggested to use PQreset in non-blocking way but this would give
the Python program the burden of handling a connection done but not configured
in an unexpected place.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unfortunately PQcancel blocks, so it's not better than PQgetResult.
It has been suggested to use PQreset in non-blocking way but this would give
the Python program the burden of handling a connection done but not configured
in an unexpected place.
</pre>
</div>
</content>
</entry>
<entry>
<title>Get the result from the connection after the green panic</title>
<updated>2012-10-06T00:45:24+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2012-10-06T00:45:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=2611d6228330da0b967944195d3de86e4164f95b'/>
<id>2611d6228330da0b967944195d3de86e4164f95b</id>
<content type='text'>
Otherwise the connection won't be usable in case we manage
to put it back on track (libpq reports "another command is
already in progress")
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise the connection won't be usable in case we manage
to put it back on track (libpq reports "another command is
already in progress")
</pre>
</div>
</content>
</entry>
<entry>
<title>Attempt to fix issue #113.</title>
<updated>2012-10-06T00:10:41+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2012-10-06T00:10:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=53b1c70f3ab4bc3a063aa1a463d27a045b564bd8'/>
<id>53b1c70f3ab4bc3a063aa1a463d27a045b564bd8</id>
<content type='text'>
If the network is down, trying to read blocking will hang the process hard
(ctrl-c not working). Send a cancel signal instead (as suggested in
http://archives.postgresql.org/pgsql-hackers/2012-07/msg00903.php) and go
back into a green polling: this should allow a further error (e.g. another
ctrl-c) to break the loop. In this case we cannot assume anything about
the state of the connection, so we close it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the network is down, trying to read blocking will hang the process hard
(ctrl-c not working). Send a cancel signal instead (as suggested in
http://archives.postgresql.org/pgsql-hackers/2012-07/msg00903.php) and go
back into a green polling: this should allow a further error (e.g. another
ctrl-c) to break the loop. In this case we cannot assume anything about
the state of the connection, so we close it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid a deadlock using concurrent green threads on the same connection</title>
<updated>2011-06-05T15:22:54+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2011-06-05T15:22:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=8f876d4b5d26a4e618d0cdcb2189b5ee3abf97c6'/>
<id>8f876d4b5d26a4e618d0cdcb2189b5ee3abf97c6</id>
<content type='text'>
Use the async_cursor property to store an indication that something is
running (even if it is not necessarily a cursor running the query).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the async_cursor property to store an indication that something is
running (even if it is not necessarily a cursor running the query).
</pre>
</div>
</content>
</entry>
<entry>
<title>Internal imports simplified.</title>
<updated>2010-12-12T13:39:32+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2010-12-12T10:55:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=6d7916cfe12657408103ed20100436b64fb2b163'/>
<id>6d7916cfe12657408103ed20100436b64fb2b163</id>
<content type='text'>
.c files only need to import psycopg.h: it will in turn import
dependencies from Python and libpq and configure.h. psycopg.h should be
the first to be imported, so the basic imports are not required in
the .h's

As a guideline I'm trying to import from the most specific to the most
generic to detect missing imports in the .h's.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
.c files only need to import psycopg.h: it will in turn import
dependencies from Python and libpq and configure.h. psycopg.h should be
the first to be imported, so the basic imports are not required in
the .h's

As a guideline I'm trying to import from the most specific to the most
generic to detect missing imports in the .h's.
</pre>
</div>
</content>
</entry>
<entry>
<title>Functions unused outside the module marked static.</title>
<updated>2010-11-10T15:50:05+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2010-11-10T15:50:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=92ee893f0fcd3fb49ec41ad384cd7ff4b74d294f'/>
<id>92ee893f0fcd3fb49ec41ad384cd7ff4b74d294f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplified psyco_wait() function interface.</title>
<updated>2010-04-25T22:08:08+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2010-04-25T22:01:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=2596cf712554833e480011de0c1b3074656ec8f3'/>
<id>2596cf712554833e480011de0c1b3074656ec8f3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Dropped compiling warning.</title>
<updated>2010-04-25T22:08:08+00:00</updated>
<author>
<name>Daniele Varrazzo</name>
<email>daniele.varrazzo@gmail.com</email>
</author>
<published>2010-04-25T22:05:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psycopg2.git/commit/?id=8efa1fa6af0a979273fc8b0b25f790f6608d4f16'/>
<id>8efa1fa6af0a979273fc8b0b25f790f6608d4f16</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
