Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | | | | Add {libpq,win32}_support.* to the .cproj file | Oleksandr Shulgin | 2015-06-04 | 1 | -1/+5 | |
| | | | | | | | | ||||||
| * | | | | | | | Add timersub for Win32. Fix gettimeofday on MinGW. | Oleksandr Shulgin | 2015-06-04 | 3 | -5/+23 | |
| | | | | | | | | ||||||
| * | | | | | | | Add libpq_support.c and win32_support.c | Oleksandr Shulgin | 2015-06-03 | 6 | -79/+254 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move libpq-specific code for streaming replication support into a separate file. Also provide gettimeofday() on Win32, implementation copied from Postgres core. | |||||
| * | | | | | | | Improve identify_system: don't hardcode column names | Oleksandr Shulgin | 2015-06-02 | 1 | -1/+1 | |
| | | | | | | | | ||||||
| * | | | | | | | Get rid of postgres internal includes; check for Win32 for htonl() | Oleksandr Shulgin | 2015-06-02 | 1 | -16/+30 | |
| | | | | | | | | ||||||
| * | | | | | | | Add support for streaming replication protocol | Oleksandr Shulgin | 2015-06-01 | 5 | -0/+617 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce ReplicationConnection and ReplicationCursor classes, that incapsulate initiation of special type of PostgreSQL connection and handling of special replication commands only available in this special connection mode. The handling of stream of replication data from the server is modelled largely after the existing support for "COPY table TO file" command and pg_recvlogical tool supplied with PostgreSQL (though, it can also be used for physical replication.) | |||||
* | | | | | | | | Merge branch 'nul-terminator' | Daniele Varrazzo | 2016-08-07 | 3 | -1/+17 | |
|\ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | Mention NULL characters guard in NEWS file | Daniele Varrazzo | 2016-08-07 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix #420. | |||||
| * | | | | | | | | Merge branch 'master' into nul-terminator | Daniele Varrazzo | 2016-08-07 | 4 | -1/+25 | |
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | ||||||
* | | | | | | | | | spelling fix | SpootDev | 2016-08-07 | 1 | -1/+1 | |
| | | | | | | | | | ||||||
* | | | | | | | | | Merge branch 'range-picklable' | Daniele Varrazzo | 2016-08-07 | 3 | -0/+24 | |
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | | | ||||||
| * | | | | | | | | Report range picklable in NEWS file | Daniele Varrazzo | 2016-08-07 | 1 | -0/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix #462 Conflicts: NEWS | |||||
| * | | | | | | | | Make Range pickleable | Jonathan Ross Rogers | 2016-08-07 | 2 | -0/+18 | |
|/ / / / / / / / | ||||||
| * | | | | | | | Throw an exception when a NUL character is used as a parameter. | Alexander Schrijver | 2016-07-18 | 2 | -1/+15 | |
|/ / / / / / / | ||||||
* | | | | | | | errorcodes map updated to PostgreSQL 9.5. | Daniele Varrazzo | 2016-07-01 | 3 | -1/+6 | |
| | | | | | | | ||||||
* | | | | | | | Merge branch 'conn-get-parameters' | Daniele Varrazzo | 2016-07-01 | 7 | -19/+99 | |
|\ \ \ \ \ \ \ | ||||||
| * | | | | | | | Mention get_dsn_parameters() in news, improved docs metadata | Daniele Varrazzo | 2016-07-01 | 2 | -0/+6 | |
| | | | | | | | | ||||||
| * | | | | | | | Add skip_before_libpq for test_get_dsn_parameters | Oleksandr Shulgin | 2015-10-30 | 1 | -0/+1 | |
| | | | | | | | | ||||||
| * | | | | | | | Fix typo in a new test name | Oleksandr Shulgin | 2015-10-30 | 1 | -1/+1 | |
| | | | | | | | | ||||||
| * | | | | | | | Add connection.get_dsn_parameters() | Oleksandr Shulgin | 2015-10-30 | 6 | -19/+92 | |
| | |_|_|_|/ / | |/| | | | | | ||||||
* | | | | | | | Merge branch 'bug-424' | Daniele Varrazzo | 2016-07-01 | 2 | -1/+2 | |
|\ \ \ \ \ \ \ | ||||||
| * | | | | | | | Mention closing bug #424 in the news | Daniele Varrazzo | 2016-07-01 | 1 | -0/+1 | |
| | | | | | | | | ||||||
| * | | | | | | | Avoid a possible null deref, tz might be NULL. | Gabriel Kihlman | 2016-04-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found by clang static analyzer. | |||||
* | | | | | | | | Allow adapting bytes using QuotedString on Python 3 too | Daniele Varrazzo | 2016-07-01 | 3 | -7/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Close #365. | |||||
* | | | | | | | | Fixed encoding tests on Py3 | Daniele Varrazzo | 2016-07-01 | 1 | -3/+3 | |
| | | | | | | | | ||||||
* | | | | | | | | Docs wrapping | Daniele Varrazzo | 2016-07-01 | 1 | -4/+6 | |
| | | | | | | | | ||||||
* | | | | | | | | Merge branch 'qstring-writable-encoding' | Daniele Varrazzo | 2016-07-01 | 6 | -36/+114 | |
|\ \ \ \ \ \ \ \ | ||||||
| * | | | | | | | | Don't hope to encode stuff in an arbitrary encoding | Daniele Varrazzo | 2016-07-01 | 2 | -3/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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). | |||||
| * | | | | | | | | Test moved to the right module, cleanup, but same problem | Daniele Varrazzo | 2016-07-01 | 4 | -46/+43 | |
| | | | | | | | | | ||||||
| * | | | | | | | | Work in progress on writable encoding | Daniele Varrazzo | 2016-07-01 | 3 | -26/+100 | |
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Would help using adapt(unicode) to quote strings without a connection, see ticket #331. Currently in heisenbug state: if test_connection_wins_anyway and test_encoding_default run (in this order), the latter fail because the returned value is "'\xe8 '", with an extra space. Skipping the first test, the second succeed. The bad value is returned by the libpq: ql = PQescapeString(to+eq+1, from, len); just returns len = 2 and an extra space in the string... meh. | |||||
* | | | | | | | | Fixed build on win32 | Daniele Varrazzo | 2016-07-01 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix #422. | |||||
* | | | | | | | | Fixed segfault on repr() for uninitialized connections | Daniele Varrazzo | 2016-07-01 | 2 | -3/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Close #361. | |||||
* | | | | | | | | Wordsmithing on COPY commands | Daniele Varrazzo | 2016-07-01 | 2 | -2/+13 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Address somehow issue #397. | |||||
* | | | | | | | | Document that the libpq must be available at runtime | Daniele Varrazzo | 2016-07-01 | 1 | -0/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix issue #408. | |||||
* | | | | | | | | Fix scattered grammar/spelling errors in comments, debug output, etc. | Greg Ward | 2016-06-30 | 3 | -6/+6 | |
|/ / / / / / / | ||||||
* | | | | | | | Merge pull request #373 from nonZero/patch-1 | Daniele Varrazzo | 2016-03-10 | 1 | -1/+9 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Suggest installing psycopg2 in windows using pip | |||||
| * | | | | | | | Suggest installing psycopg2 in windows using pip | Udi Oron | 2015-11-10 | 1 | -1/+9 | |
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | pip is becoming the standard method for installing python packages, and now binary wheels are a better and easier option for users: https://github.com/psycopg/psycopg2/issues/368 | |||||
* | | | | | | | Merge pull request #415 from bmwiedemann/master | Daniele Varrazzo | 2016-03-10 | 1 | -3/+1 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | dont claim copyright for future years | |||||
| * | | | | | | | dont claim copyright for future years | Bernhard M. Wiedemann | 2016-03-09 | 1 | -3/+1 | |
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | otherwise, when building from unchanged source in 2018, it would claim Copyright 2018 which is not true Being able to reproduce identical output from identical input is important to Linux distributions | |||||
* | | | | | | | Merge pull request #416 from dargor/doc_typos | Daniele Varrazzo | 2016-03-10 | 1 | -1/+1 | |
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | Typo. | |||||
| * | | | | | | | Typo. | Gabriel Linder | 2016-03-09 | 1 | -1/+1 | |
| |/ / / / / / | ||||||
* | | | | | | | Merge branch 'py35' | Daniele Varrazzo | 2016-03-10 | 4 | -2/+8 | |
|\ \ \ \ \ \ \ | ||||||
| * | | | | | | | Start advertising Py 3.5 support | Daniele Varrazzo | 2016-03-10 | 2 | -1/+2 | |
| | | | | | | | | ||||||
| * | | | | | | | Fixed read() exception propagation in copy_from | Daniele Varrazzo | 2016-03-10 | 2 | -1/+6 | |
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | Close issue #412. | |||||
* | | | | | | | Merge branch 'msvc-2015-fix' | Daniele Varrazzo | 2016-03-10 | 2 | -0/+5 | |
|\ \ \ \ \ \ \ | ||||||
| * | | | | | | | Py 3.5 MSVC 2015 build fixed noted in news | Daniele Varrazzo | 2016-03-10 | 1 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Close issue #380. | |||||
| * | | | | | | | Work around late initialization in distutils._msvccompiler. | Christian Ullrich | 2016-03-10 | 1 | -0/+4 | |
|/ / / / / / / | ||||||
* | | | | | | | Merge branch 'setuptools' | Daniele Varrazzo | 2016-03-10 | 4 | -9/+8 | |
|\ \ \ \ \ \ \ | ||||||
| * | | | | | | | Fixed 'make sdist' to work with setuptools | Daniele Varrazzo | 2016-03-10 | 2 | -8/+3 | |
| | | | | | | | | ||||||
| * | | | | | | | setuptools in the news | Daniele Varrazzo | 2016-03-10 | 1 | -0/+1 | |
| | | | | | | | |