Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | Merge branch 'notice-lists-replaceable' | Daniele Varrazzo | 2015-06-02 | 8 | -33/+147 | |
|\ \ \ | ||||||
| * | | | Allow connection.notices and notifies to be replaced. | Daniele Varrazzo | 2015-06-02 | 7 | -22/+134 | |
| | | | | | | | | | | | | | | | | Close #326 | |||||
| * | | | Pending notice list converted into a forward list | Daniele Varrazzo | 2015-06-02 | 2 | -7/+12 | |
| | | | | | | | | | | | | | | | | This allows inserting the elements in order without using list.insert(). | |||||
| * | | | Dropped unneeded constness on the notice message | Daniele Varrazzo | 2015-06-02 | 2 | -2/+2 | |
| | | | | | | | | | | | | | | | | That's a strdup result, we 0wn it. | |||||
| * | | | Dropped unused notice_filter connection member | Daniele Varrazzo | 2015-06-02 | 2 | -3/+0 | |
|/ / / | ||||||
* | | | Change "non desiderable" to "undesirable" in docs | Pete Hollobon | 2015-06-02 | 2 | -3/+3 | |
| | | | | | | | | | | | | "desiderable" is considered obsolete | |||||
* | | | Merge branch 'adapt-list-of-none' | Daniele Varrazzo | 2015-06-02 | 3 | -1/+50 | |
|\ \ \ | ||||||
| * | | | Fixed adaptation of lists of None | Daniele Varrazzo | 2015-06-02 | 3 | -1/+50 | |
|/ / / | | | | | | | | | | Note: lists of lists of None are not supported yet. | |||||
| * | | Separate parse_dsn test on URI, for libpq >= 9.2 | Oleksandr Shulgin | 2015-06-02 | 1 | -5/+22 | |
| | | | ||||||
| * | | Merge branch 'master' into feature/parse-dsn | Oleksandr Shulgin | 2015-06-02 | 13 | -11/+103 | |
| |\ \ | |/ / |/| | | | | | | | | Conflicts: lib/extensions.py | |||||
* | | | Merge branch 'libpq-version' | Daniele Varrazzo | 2015-06-02 | 13 | -11/+103 | |
|\ \ \ | |_|/ |/| | | ||||||
| * | | Version function/constant docs improved | Daniele Varrazzo | 2015-06-02 | 2 | -8/+11 | |
| | | | ||||||
| * | | Mention libpq version inspection in news file | Daniele Varrazzo | 2015-06-02 | 1 | -0/+11 | |
| | | | ||||||
| * | | Dropped PG_VERSION_HEX constant | Daniele Varrazzo | 2015-06-02 | 6 | -12/+9 | |
| | | | | | | | | | | | | At PostgreSQL 10.0 it would have become awkward. | |||||
| * | | Add test for libpq_version | Oleksandr Shulgin | 2015-06-02 | 1 | -0/+9 | |
| | | | ||||||
| * | | Add libpq version discovery | Oleksandr Shulgin | 2015-06-01 | 7 | -2/+74 | |
|/ / | ||||||
| * | One more parse_dsn test for unquoted space | Oleksandr Shulgin | 2015-06-01 | 1 | -0/+3 | |
| | | ||||||
| * | Move parse_dsn to extensions, add tests | Oleksandr Shulgin | 2015-06-01 | 6 | -28/+70 | |
| | | ||||||
| * | Add parse_dsn module function | Oleksandr Shulgin | 2015-06-01 | 3 | -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 NEWSfile | Daniele Varrazzo | 2015-05-03 | 1 | -0/+1 | |
| | ||||||
* | Make sure libcrypto threadsafety callbacks are properly set up | Jan UrbaĆski | 2015-05-03 | 1 | -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 transaction | Daniele Varrazzo | 2015-05-03 | 1 | -3/+18 | |
| | ||||||
* | Unlock the connection after PQflush error | Daniele Varrazzo | 2015-05-03 | 2 | -0/+5 | |
| | | | | | | Apparently this has never happened... anyway the code path was wrong. Fixes #294. | |||||
* | Added makefile target to upload docs | Daniele Varrazzo | 2015-05-03 | 2 | -0/+172 | |
| | ||||||
* | Added note about table names to be escaped in copy_*() methods. | Daniele Varrazzo | 2015-05-03 | 1 | -0/+13 | |
| | ||||||
* | Fix several typos | Hyunjun Kim | 2015-05-03 | 3 | -4/+5 | |
| | ||||||
* | Fix to MinTimeLoggingCursor.callproc() noted in NEWSfile | Daniele Varrazzo | 2015-05-03 | 1 | -0/+6 | |
| | ||||||
* | Fixed MinTimeLoggingCursor.callproc() | andrew deryabin | 2015-05-03 | 1 | -1/+1 | |
| | ||||||
* | Wordsmith on connection.set_session() | Daniele Varrazzo | 2015-05-03 | 1 | -19/+19 | |
| | | | | Fixes #310. | |||||
* | Fixed connection.poll() docstring | Daniele Varrazzo | 2015-05-03 | 1 | -1/+5 | |
| | | | | Fixes #312 | |||||
* | Docs build process and docs cleaned up | Daniele Varrazzo | 2015-04-28 | 4 | -50/+39 | |
| | ||||||
* | Added missing files needed to build the docs | Daniele Varrazzo | 2015-04-28 | 1 | -0/+1 | |
| | | | | Fixes #291 | |||||
* | Bump to next dev version number for the master branch | Daniele Varrazzo | 2015-04-28 | 1 | -1/+1 | |
| | ||||||
* | Version bumped for release 2.62_6 | Daniele Varrazzo | 2015-02-09 | 2 | -2/+3 | |
| | ||||||
* | More portable way to establish Python 32/64 build | Daniele Varrazzo | 2015-02-08 | 1 | -1/+8 | |
| | ||||||
* | Python 3.1 bytes.decode() doesn't support keyword arguments | Daniele Varrazzo | 2015-02-08 | 1 | -1/+1 | |
| | | | | Sucker. | |||||
* | More tests tweaks | Daniele Varrazzo | 2015-02-08 | 2 | -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.3 | Daniele Varrazzo | 2015-02-08 | 3 | -5/+20 | |
| | | | | | Also expose the type from the extensions module, not from the main module. | |||||
* | Don't test date 24:00 before PG 8.4 | Daniele Varrazzo | 2015-02-08 | 1 | -1/+2 | |
| | ||||||
* | Added NEWS note about picklable cursor.desciption | Daniele Varrazzo | 2015-02-08 | 1 | -0/+1 | |
| | ||||||
* | Allow pickling of cursor.description | Owen Raccuglia | 2015-02-08 | 3 | -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 builds | Daniele Varrazzo | 2015-02-08 | 1 | -5/+7 | |
| | ||||||
* | Fixed link in NEWS entry | Daniele Varrazzo | 2015-02-08 | 1 | -1/+1 | |
| | ||||||
* | Accept overflow errors testing for LO64 funcs | Daniele Varrazzo | 2015-02-08 | 1 | -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 FROM | Daniele Varrazzo | 2015-02-08 | 3 | -3/+50 | |
| | | | | Fix ticket #270. | |||||
* | Convert Postgres time 24:00 into 00:00 | Daniele Varrazzo | 2015-02-08 | 3 | -0/+16 | |
| | | | | Fix ticket #278. | |||||
* | Merge branch 'timetz' | Daniele Varrazzo | 2014-12-25 | 2 | -2/+5 | |
|\ | ||||||
| * | timetz adaptation documented | Daniele Varrazzo | 2014-12-25 | 2 | -2/+8 | |
| | | ||||||
* | | Merge branch 'lo64' | Daniele Varrazzo | 2014-12-25 | 9 | -39/+224 | |
|\ \ | ||||||
| * | | Large object 64 bit API quoted in news file | Daniele Varrazzo | 2014-12-25 | 1 | -0/+4 | |
| | | |