Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | RealDictRow inherits from OrderedDictfix-886 | Daniele Varrazzo | 2019-04-06 | 3 | -56/+47 | |
| | | | | | | | | | | | | | | | | Now its state is unmodified, so apart from special-casing creation and initial population can work unmodified, and all the desired properties just work (modifiability, picklability...) Close #886. | |||||
| * | Fixed RealDictCursor.pop() | Daniele Varrazzo | 2019-04-06 | 3 | -0/+27 | |
|/ | | | | Addresses #886, but there might be something else broken there. | |||||
* | Merge branch 'fix-887' | Daniele Varrazzo | 2019-04-06 | 4 | -8/+34 | |
|\ | ||||||
| * | Test notifies are received ok polling an async curfix-887 | Daniele Varrazzo | 2019-04-05 | 1 | -1/+22 | |
| | | ||||||
| * | Handle ok poll() without a cursor having executed queries | Daniele Varrazzo | 2019-04-05 | 3 | -7/+12 | |
| | | | | | | | | Close #887 | |||||
| * | Bump to next dev release | Daniele Varrazzo | 2019-04-05 | 1 | -1/+1 | |
|/ | ||||||
* | Bumping to 2.8 for release2_8 | Daniele Varrazzo | 2019-04-03 | 1 | -1/+1 | |
| | ||||||
* | Fixed replication cursor docs warning indentation level | Daniele Varrazzo | 2019-04-01 | 1 | -11/+9 | |
| | ||||||
* | Replication objects docs header level bumped up | Daniele Varrazzo | 2019-04-01 | 1 | -2/+2 | |
| | | | | Now it appears in the ToCs. | |||||
* | Fixed notice about new wal_end attribute being on the cursor | Daniele Varrazzo | 2019-04-01 | 2 | -3/+3 | |
| | ||||||
* | Merge branch 'keepalive-save-wal-end' | Daniele Varrazzo | 2019-03-30 | 6 | -1/+46 | |
|\ | | | | | | | Close #800 | |||||
| * | Added news entry about ReplicationMessage.wal_end | Daniele Varrazzo | 2019-03-30 | 2 | -0/+4 | |
| | | ||||||
| * | Address code review feedback | grunskis-bonial | 2019-03-30 | 3 | -4/+18 | |
| | | ||||||
| * | Store WAL end pointer in the replication cursor | Martins Grunskis | 2019-03-30 | 5 | -2/+29 | |
|/ | ||||||
* | Add time type conversion info to docs | Andrew Rabert | 2019-03-24 | 1 | -0/+23 | |
| | ||||||
* | Allow tests to be ignored if dynamic binding failed2_8_BETA_2 | Daniele Varrazzo | 2019-03-18 | 2 | -14/+23 | |
| | ||||||
* | Version number changed to release version 2.8 beta 2 packages | Daniele Varrazzo | 2019-03-18 | 1 | -1/+1 | |
| | ||||||
* | Merge branch 'naming' | Daniele Varrazzo | 2019-03-18 | 34 | -305/+302 | |
|\ | ||||||
| * | Windows doesn't like the name "connect" for a function | Daniele Varrazzo | 2019-03-17 | 1 | -5/+5 | |
| | | ||||||
| * | Prefix 'psycopg_' changed to 'psyco_'naming | Daniele Varrazzo | 2019-03-17 | 22 | -76/+76 | |
| | | ||||||
| * | Several function names shortened | Daniele Varrazzo | 2019-03-17 | 18 | -234/+231 | |
| | | | | | | | | | | | | There's not so much need for a strict convention for static functions. Leaving some 'psyco_' prefix when the internal function and the python-exposed function clashed. | |||||
* | | Merge branch 'fix-829' | Daniele Varrazzo | 2019-03-18 | 5 | -10/+83 | |
|\ \ | ||||||
| * | | Mention closed #829 in NEWS file | Daniele Varrazzo | 2019-03-18 | 1 | -4/+9 | |
| | | | ||||||
| * | | Don't close connections from forked processes | Daniele Varrazzo | 2019-03-18 | 3 | -3/+28 | |
| | | | | | | | | | | | | | | | | | | | | | On Py3 subprocessing will actually GC the objects and the FD is open, resulting in connections closed in different processes. The behaviour is verified in py 3.4 to 3.7 at least, | |||||
| * | | subprocess test function moved into a module | Daniele Varrazzo | 2019-03-17 | 1 | -11/+26 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <module '__main__' (built-in)> | |||||
| * | | Added test to reproduce ticket #829 | Daniele Varrazzo | 2019-03-17 | 1 | -0/+28 | |
| | | | | | | | | | | | | | | | 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... | |||||
* | | | Allow incorrect result for pgconn_ptr test on OSX | Daniele Varrazzo | 2019-03-18 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | | | | | | | 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...) | |||||
* | | | Run tests on windows using the same library versions of the packages | Daniele Varrazzo | 2019-03-18 | 2 | -5/+4 | |
| | | | ||||||
* | | | Appveyor tests in order of sort what I care | Daniele Varrazzo | 2019-03-18 | 1 | -6/+6 | |
|/ / | ||||||
* | | Allow 0 as key in the pool | Daniele Varrazzo | 2019-03-17 | 1 | -3/+3 | |
| | | | | | | | | Close #848 | |||||
* | | Merge branch 'use-conn-pgres' | Daniele Varrazzo | 2019-03-17 | 8 | -321/+196 | |
|\ \ | |/ | ||||||
| * | Dropped whole "critical" story | Daniele Varrazzo | 2019-03-17 | 3 | -93/+1 | |
| | | | | | | | | | | It doesn't seem "critical" errors are used anymore. pq_set_critical() wasn't called anywhere. | |||||
| * | Use the error on the connection instead of passing it explicitly around | Daniele Varrazzo | 2019-03-17 | 6 | -132/+105 | |
| | | ||||||
| * | Added helper methods to set a result into a connection/cursor | Daniele Varrazzo | 2019-03-17 | 5 | -20/+32 | |
| | | ||||||
| * | Dropped pgconn argument from conn_setup() | Daniele Varrazzo | 2019-03-17 | 3 | -17/+16 | |
| | | ||||||
| * | Use the connection's PGresult to pass results through calls | Daniele Varrazzo | 2019-03-17 | 4 | -132/+113 | |
| | | ||||||
| * | Fixed handling of internal query too large | Daniele Varrazzo | 2019-03-17 | 1 | -0/+2 | |
|/ | ||||||
* | Merge branch 'fix-856' | Daniele Varrazzo | 2019-03-17 | 20 | -183/+219 | |
|\ | ||||||
| * | Make sure to free the connection's pgres on deletefix-856 | Daniele Varrazzo | 2019-03-17 | 1 | -0/+1 | |
| | | ||||||
| * | Added pq_get_result_async() replaced pg_get_last_result() | Daniele Varrazzo | 2019-03-17 | 9 | -69/+167 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new function keeps together PQconsumeInput() with PQisBusy(), in order to handle the condition in which not all the results of a sequence of statements arrive in the same roundtrip. Added pointer to a PGresult to the connection to keep the state across async communication: it can probably be used to simplify other code paths where a result is brought forward manually. Close #802 Close #855 Close #856 | |||||
| * | Retrieving the async cursor moved out of conn_poll() body | Daniele Varrazzo | 2019-03-16 | 1 | -18/+39 | |
| | | ||||||
| * | Simplified interactions between asyc functions | Daniele Varrazzo | 2019-03-16 | 1 | -5/+14 | |
| | | | | | | | | | | | | | | | | | | Have advance_write calling flush itself, advance_read calling is_busy itself, rather than calling them in the caller and passing the result. Why we were doing the former on write I don't know. On read the paths between async and green function was different but they got unified in the previous commit. | |||||
| * | Dropped locking version of pq_is_busy() | Daniele Varrazzo | 2019-03-16 | 3 | -55/+4 | |
| | | | | | | | | | | | | | | | | | | | | The locking version was used for sync connections, the non-locking one for green ones. However it only calls non-blocking functions, so it doesn't really matter releasing the gil. So have only the non-locking one. Note that the name are sort of swapped: pq_is_busy() does now what pq_is_busy_locked() used to do. | |||||
| * | Dropped no_begin handling in async execute | Daniele Varrazzo | 2019-03-16 | 1 | -13/+2 | |
| | | | | | | | | | | no_begin is only used with withhold named cursors, and it's not possible to create named cursors on async connections. | |||||
| * | Dropped debug info for microprotocols/adapters initialization | Daniele Varrazzo | 2019-03-16 | 9 | -33/+2 | |
| | | | | | | | | | | Not useful anymore (guess they were when those layers were created). Much shorter stream of messages on module init now. | |||||
| * | Shorter timeout in the async tests select | Daniele Varrazzo | 2019-03-16 | 1 | -2/+2 | |
|/ | ||||||
* | Merge branch 'version-check-cleanup' | Daniele Varrazzo | 2019-03-16 | 25 | -141/+119 | |
|\ | ||||||
| * | Py2/3 compatibility macro definitions rationalized | Daniele Varrazzo | 2019-03-16 | 2 | -36/+32 | |
| | | ||||||
| * | Fixed check for type == int on Py2 | Daniele Varrazzo | 2019-03-16 | 1 | -1/+1 | |
| | | ||||||
| * | Added PY_2, PY_3 macros and used uniformly | Daniele Varrazzo | 2019-03-16 | 13 | -35/+38 | |
| | |