Daniele Varrazzo
ffc0446b25
Mention NULL characters guard in NEWS file
...
Fix #420 .
2016-08-07 02:52:43 +01:00
Daniele Varrazzo
cc05451461
Report range picklable in NEWS file
...
Fix #462
2016-08-07 02:38:09 +01:00
Daniele Varrazzo
ed912a3578
news file typo
2016-07-07 04:12:40 +01:00
Daniele Varrazzo
c5411f67c2
Added link from news file
2016-07-07 02:47:34 +01:00
Daniele Varrazzo
98a9203827
Merge branch 'issue443' into maint_2_6
2016-07-04 22:07:41 +01:00
Daniele Varrazzo
9886a7210e
Connection state fixed noted in the news
2016-07-04 22:07:28 +01:00
Daniele Varrazzo
88af6e790c
errorcodes map updated to PostgreSQL 9.5.
2016-07-01 20:08:53 +01:00
Daniele Varrazzo
230d9d6b1a
Mention closing bug #424 in the news
2016-07-01 19:29:45 +01:00
Daniele Varrazzo
61764ea581
Allow adapting bytes using QuotedString on Python 3 too
...
Close #365 .
2016-07-01 19:11:04 +01:00
Daniele Varrazzo
f335c46a54
Don't hope to encode stuff in an arbitrary encoding
...
libpq's PQescapeString will use the same encoding it has seen before in
a connection (static_client_encoding).
So I think I'll leave this feature here for people who know what is
doing, but won't really document it as a feature: it can't really work
in a generic way (unless adding some disgusting hack like creating a
fake connection with the encoding we want to call PQescapeStringConn
instead of PQescapeString).
2016-07-01 17:47:40 +01:00
Daniele Varrazzo
8dff6a38c7
Fixed segfault on repr() for uninitialized connections
...
Close #361 .
2016-07-01 02:09:56 +01:00
Daniele Varrazzo
fd58f9105e
Fixed read() exception propagation in copy_from
...
Close issue #412 .
2016-03-08 05:12:06 +00:00
Daniele Varrazzo
a355d48aeb
Py 3.5 MSVC 2015 build fixed noted in news
...
Close issue #380 .
2016-03-08 00:25:19 +00:00
Daniele Varrazzo
88593602de
setuptools in the news
2016-03-07 10:38:40 +00:00
Daniele Varrazzo
c20503544f
Fixed race condition on import in errorcodes.lookup
...
Fixes #382 .
2015-12-16 12:00:52 +00:00
Daniele Varrazzo
c076fc3a26
The wait_select callback can cancel a query using Ctrl-C
...
Fixes #333 .
2015-10-01 15:27:31 +01:00
Daniele Varrazzo
347a64b979
Fixed PersistentConnectionPool on Python 3
...
Fixes ticket #348 .
2015-10-01 14:44:56 +01:00
ClodoaldoPinto
a09efaf5a1
Typo correction
2015-10-01 14:31:51 +01:00
Daniele Varrazzo
1714bd9273
MSVC 2015 compiler support added to news file
2015-10-01 14:29:56 +01:00
Daniele Varrazzo
abf1f28c44
Report NotSupportedError for PGRES_COPY_BOTH and PGRES_SINGLE_TUPLE
...
Fixes #352 .
2015-09-30 12:24:47 +01:00
Daniele Varrazzo
3e31fb359e
Report the server response status on errors with no message
...
Suggested by Craig Ringer in pull request #353 , should also give more
information for other cases we were reported on flaky servers (AWS,
digital ocean...), see bug #281 .
2015-09-30 12:24:37 +01:00
Daniele Varrazzo
6192649d25
Fixed adaptation of lists of None
...
Note: lists of lists of None are not supported yet.
2015-06-02 12:38:59 +01:00
Daniele Varrazzo
9ee15f9845
OpenSSL deadlock fix noted in NEWSfile
2015-05-03 12:27:27 +01:00
Daniele Varrazzo
a70a541e0b
Unlock the connection after PQflush error
...
Apparently this has never happened... anyway the code path was wrong.
Fixes #294 .
2015-05-03 11:58:16 +01:00
Daniele Varrazzo
862f47040c
Fix to MinTimeLoggingCursor.callproc() noted in NEWSfile
2015-05-03 09:58:45 +01:00
Daniele Varrazzo
5efe7131ff
Version bumped for release 2.6
2015-02-09 09:43:55 +00:00
Daniele Varrazzo
2a2f306f7b
Added NEWS note about picklable cursor.desciption
2015-02-08 02:32:47 +00:00
Daniele Varrazzo
f15e9d0cc8
Fixed link in NEWS entry
2015-02-08 02:14:00 +00:00
Daniele Varrazzo
7ce7fef322
Propagate read error messages in COPY FROM
...
Fix ticket #270 .
2015-02-08 01:42:21 +00:00
Daniele Varrazzo
d3c1ad5945
Convert Postgres time 24:00 into 00:00
...
Fix ticket #278 .
2015-02-08 00:41:50 +00:00
Daniele Varrazzo
2332f2c99e
Merge branch 'timetz'
2014-12-25 15:09:15 +01:00
Daniele Varrazzo
7139187381
Large object 64 bit API quoted in news file
2014-12-25 15:07:34 +01:00
Daniele Varrazzo
6bccb05c90
timetz adaptation documented
2014-12-25 14:57:31 +01:00
Daniele Varrazzo
1b48033345
Don't try to close the server cursor in error state
...
`close()` is implicitly called by `__exit__()`, so an exit on error
would run a query on a inerr connection, causing another exception
hiding the original one. The fix is on `close()`, not on `__exit__()`,
because the semantic of the latter is simply to call the former.
Closes #262 .
2014-09-16 06:57:34 +01:00
Daniele Varrazzo
9fdfa86200
Release notes cleanup before releasing 2.4.5
2014-08-31 03:06:50 +01:00
Daniele Varrazzo
8e06a51884
Added plural version of the tickets role
2014-08-31 03:05:03 +01:00
Daniele Varrazzo
6705e4051d
Dropped creation of errcodes with missing spec field
...
On further inspection these names are just aliases for values already
defined: we don't need the duplication.
2014-08-28 02:17:57 +01:00
Daniele Varrazzo
2d601ef157
Fixed memory leak with large objects
...
Deallocating closed large objects failed to decrement the connection
refcount. The fact the lobject is closed doesn't matter for refcount.
Issue detected by the always useful scripts/refcounter.py
With an extra bit of unrequested whitespace love.
2014-08-28 02:17:52 +01:00
Daniele Varrazzo
ea54aa77ed
Added test to verify _psycopg can be imported
2014-08-28 02:17:49 +01:00
Daniele Varrazzo
d20c03310d
Document WITH HOLD corrections.
2014-08-21 05:53:07 +01:00
Daniele Varrazzo
41a083cec3
Convert pool arguments to int
...
Failing to do so may cause dangerous misbehaviours such as an unbounded
pool (because of lame comparison operators in Python 2).
Fix ticket #220 .
2014-08-13 02:39:16 +01:00
Daniele Varrazzo
e225aad042
Habemus jsonb
2014-08-13 02:02:06 +01:00
Daniele Varrazzo
40dca9924d
Add a few missing errcodes
...
They are used in the code but not defined in the SGML docs so the script
failed to parse them.
2014-07-31 13:34:53 +01:00
Daniele Varrazzo
56adc590ff
Fixed segfault if COPY statements are executed
...
Close ticket #219
2014-06-06 21:42:21 +02:00
Daniele Varrazzo
115ceea1eb
Don't ignore silently the cursor.callproc
argument without a length
2014-06-06 21:42:21 +02:00
Daniele Varrazzo
81b5f1fb26
Copy operations correctly set the cursor.rowcount attribute
...
Fixes ticket #180 .
2014-05-05 23:53:50 +01:00
Daniele Varrazzo
69605e54ec
Fixed explicit connection.cursor(cursor_factory=None)
...
Fixes issue #210 .
2014-04-30 17:57:55 +01:00
Daniele Varrazzo
03b8b1e97a
Merge branch 'connection-closed'
...
NEWS for released 2.5.3 reordered.
2014-04-05 16:11:19 +01:00
Daniele Varrazzo
489658cfc5
Close the connection if discovered bad on poll()
2014-04-05 16:03:19 +01:00
Daniele Varrazzo
696d123550
Close a connection if PQexec returned NULL
...
This happens for Socket connections, not for TCP ones, where a result
containing an error is returned and correctly handled by pq_raise()
Closes ticket #196 but not #192 : poll() still doesn't change the
connection closed.
2014-04-05 16:03:06 +01:00