summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge branch 'notice-lists-replaceable'Daniele Varrazzo2015-06-028-33/+147
|\ \ \
| * | | Allow connection.notices and notifies to be replaced.Daniele Varrazzo2015-06-027-22/+134
| | | | | | | | | | | | | | | | Close #326
| * | | Pending notice list converted into a forward listDaniele Varrazzo2015-06-022-7/+12
| | | | | | | | | | | | | | | | This allows inserting the elements in order without using list.insert().
| * | | Dropped unneeded constness on the notice messageDaniele Varrazzo2015-06-022-2/+2
| | | | | | | | | | | | | | | | That's a strdup result, we 0wn it.
| * | | Dropped unused notice_filter connection memberDaniele Varrazzo2015-06-022-3/+0
|/ / /
* | | Change "non desiderable" to "undesirable" in docsPete Hollobon2015-06-022-3/+3
| | | | | | | | | | | | "desiderable" is considered obsolete
* | | Merge branch 'adapt-list-of-none'Daniele Varrazzo2015-06-023-1/+50
|\ \ \
| * | | Fixed adaptation of lists of NoneDaniele Varrazzo2015-06-023-1/+50
|/ / / | | | | | | | | | Note: lists of lists of None are not supported yet.
| * | Separate parse_dsn test on URI, for libpq >= 9.2Oleksandr Shulgin2015-06-021-5/+22
| | |
| * | Merge branch 'master' into feature/parse-dsnOleksandr Shulgin2015-06-0213-11/+103
| |\ \ | |/ / |/| | | | | | | | Conflicts: lib/extensions.py
* | | Merge branch 'libpq-version'Daniele Varrazzo2015-06-0213-11/+103
|\ \ \ | |_|/ |/| |
| * | Version function/constant docs improvedDaniele Varrazzo2015-06-022-8/+11
| | |
| * | Mention libpq version inspection in news fileDaniele Varrazzo2015-06-021-0/+11
| | |
| * | Dropped PG_VERSION_HEX constantDaniele Varrazzo2015-06-026-12/+9
| | | | | | | | | | | | At PostgreSQL 10.0 it would have become awkward.
| * | Add test for libpq_versionOleksandr Shulgin2015-06-021-0/+9
| | |
| * | Add libpq version discoveryOleksandr Shulgin2015-06-017-2/+74
|/ /
| * One more parse_dsn test for unquoted spaceOleksandr Shulgin2015-06-011-0/+3
| |
| * Move parse_dsn to extensions, add testsOleksandr Shulgin2015-06-016-28/+70
| |
| * Add parse_dsn module functionOleksandr Shulgin2015-06-013-1/+53
|/ | | | | | | | Calls PQconninfoParse to parse the dsn into a list of keyword and value structs, then constructs a dictionary from that. Can be useful when one needs to alter some part of the the connection string reliably, but doesn't want to get into all the details of parsing a dsn string: quoting, URL format, etc.
* OpenSSL deadlock fix noted in NEWSfileDaniele Varrazzo2015-05-031-0/+1
|
* Make sure libcrypto threadsafety callbacks are properly set upJan UrbaƄski2015-05-031-0/+23
| | | | | | | | | | | | | | | | Multithreaded programs using libcrypto (part of OpenSSL) need to set up callbacks to ensure safe execution. Both Python and libpq set up those callbacks, which might lead to a conflict. To avoid leaving dangling function pointers when being unloaded, libpq sets up and removes the callbacks every time a SSL connection it opened and closed. If another Python thread is performing unrelated SSL operations (like connecting to a HTTPS server), this might lead to deadlocks, as described in http://www.postgresql.org/message-id/871tlzrlkq.fsf@wulczer.org Even if the problem will be remediated in libpq, it's still useful to have it fixed in psycopg2. The solution is to use Python's own libcrypto callbacks and completely disable handling them in libpq.
* Improve docs about connection's with only closing the transactionDaniele Varrazzo2015-05-031-3/+18
|
* Unlock the connection after PQflush errorDaniele Varrazzo2015-05-032-0/+5
| | | | | | Apparently this has never happened... anyway the code path was wrong. Fixes #294.
* Added makefile target to upload docsDaniele Varrazzo2015-05-032-0/+172
|
* Added note about table names to be escaped in copy_*() methods.Daniele Varrazzo2015-05-031-0/+13
|
* Fix several typosHyunjun Kim2015-05-033-4/+5
|
* Fix to MinTimeLoggingCursor.callproc() noted in NEWSfileDaniele Varrazzo2015-05-031-0/+6
|
* Fixed MinTimeLoggingCursor.callproc()andrew deryabin2015-05-031-1/+1
|
* Wordsmith on connection.set_session()Daniele Varrazzo2015-05-031-19/+19
| | | | Fixes #310.
* Fixed connection.poll() docstringDaniele Varrazzo2015-05-031-1/+5
| | | | Fixes #312
* Docs build process and docs cleaned upDaniele Varrazzo2015-04-284-50/+39
|
* Added missing files needed to build the docsDaniele Varrazzo2015-04-281-0/+1
| | | | Fixes #291
* Bump to next dev version number for the master branchDaniele Varrazzo2015-04-281-1/+1
|
* Version bumped for release 2.62_6Daniele Varrazzo2015-02-092-2/+3
|
* More portable way to establish Python 32/64 buildDaniele Varrazzo2015-02-081-1/+8
|
* Python 3.1 bytes.decode() doesn't support keyword argumentsDaniele Varrazzo2015-02-081-1/+1
| | | | Sucker.
* More tests tweaksDaniele Varrazzo2015-02-082-1/+2
| | | | | | Named cursors on old server versions have a different prefetch behaviour. This has hidden me the supported range of the 24:00 time format. Let's have another go at full testing...
* Make Column picklable on Python >= 3.3Daniele Varrazzo2015-02-083-5/+20
| | | | | Also expose the type from the extensions module, not from the main module.
* Don't test date 24:00 before PG 8.4Daniele Varrazzo2015-02-081-1/+2
|
* Added NEWS note about picklable cursor.desciptionDaniele Varrazzo2015-02-081-0/+1
|
* Allow pickling of cursor.descriptionOwen Raccuglia2015-02-083-0/+13
| | | | | | | | | This is for people using dtuple.py; a dtuple.DatabaseTuple instance keeps a reference to cursor.description, which is not picklable because psycopg2 doesn't export the Column namedtuple it uses. This commit exports the Column namedtuple, and includes a test to verify the pickle/unpickle works after exporting Column.
* Document that LO64 is only available on Py 64 buildsDaniele Varrazzo2015-02-081-5/+7
|
* Fixed link in NEWS entryDaniele Varrazzo2015-02-081-1/+1
|
* Accept overflow errors testing for LO64 funcsDaniele Varrazzo2015-02-081-2/+2
| | | | | | It is raised on 32 bits by PyArg_ParseTuple. We may work around on truncate (maybe parsing a py_ssize_t) but we would have the same problem on seek as the offset is signed.
* Propagate read error messages in COPY FROMDaniele Varrazzo2015-02-083-3/+50
| | | | Fix ticket #270.
* Convert Postgres time 24:00 into 00:00Daniele Varrazzo2015-02-083-0/+16
| | | | Fix ticket #278.
* Merge branch 'timetz'Daniele Varrazzo2014-12-252-2/+5
|\
| * timetz adaptation documentedDaniele Varrazzo2014-12-252-2/+8
| |
* | Merge branch 'lo64'Daniele Varrazzo2014-12-259-39/+224
|\ \
| * | Large object 64 bit API quoted in news fileDaniele Varrazzo2014-12-251-0/+4
| | |