summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | Add {libpq,win32}_support.* to the .cproj fileOleksandr Shulgin2015-06-041-1/+5
| | | | | | | |
| * | | | | | | Add timersub for Win32. Fix gettimeofday on MinGW.Oleksandr Shulgin2015-06-043-5/+23
| | | | | | | |
| * | | | | | | Add libpq_support.c and win32_support.cOleksandr Shulgin2015-06-036-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 namesOleksandr Shulgin2015-06-021-1/+1
| | | | | | | |
| * | | | | | | Get rid of postgres internal includes; check for Win32 for htonl()Oleksandr Shulgin2015-06-021-16/+30
| | | | | | | |
| * | | | | | | Add support for streaming replication protocolOleksandr Shulgin2015-06-015-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 Varrazzo2016-08-073-1/+17
|\ \ \ \ \ \ \ \
| * | | | | | | | Mention NULL characters guard in NEWS fileDaniele Varrazzo2016-08-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix #420.
| * | | | | | | | Merge branch 'master' into nul-terminatorDaniele Varrazzo2016-08-074-1/+25
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | spelling fixSpootDev2016-08-071-1/+1
| | | | | | | | |
* | | | | | | | | Merge branch 'range-picklable'Daniele Varrazzo2016-08-073-0/+24
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ |/| | | | | | | |
| * | | | | | | | Report range picklable in NEWS fileDaniele Varrazzo2016-08-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix #462 Conflicts: NEWS
| * | | | | | | | Make Range pickleableJonathan Ross Rogers2016-08-072-0/+18
|/ / / / / / / /
| * | | | | | | Throw an exception when a NUL character is used as a parameter.Alexander Schrijver2016-07-182-1/+15
|/ / / / / / /
* | | | | | | errorcodes map updated to PostgreSQL 9.5.Daniele Varrazzo2016-07-013-1/+6
| | | | | | |
* | | | | | | Merge branch 'conn-get-parameters'Daniele Varrazzo2016-07-017-19/+99
|\ \ \ \ \ \ \
| * | | | | | | Mention get_dsn_parameters() in news, improved docs metadataDaniele Varrazzo2016-07-012-0/+6
| | | | | | | |
| * | | | | | | Add skip_before_libpq for test_get_dsn_parametersOleksandr Shulgin2015-10-301-0/+1
| | | | | | | |
| * | | | | | | Fix typo in a new test nameOleksandr Shulgin2015-10-301-1/+1
| | | | | | | |
| * | | | | | | Add connection.get_dsn_parameters()Oleksandr Shulgin2015-10-306-19/+92
| | |_|_|_|/ / | |/| | | | |
* | | | | | | Merge branch 'bug-424'Daniele Varrazzo2016-07-012-1/+2
|\ \ \ \ \ \ \
| * | | | | | | Mention closing bug #424 in the newsDaniele Varrazzo2016-07-011-0/+1
| | | | | | | |
| * | | | | | | Avoid a possible null deref, tz might be NULL.Gabriel Kihlman2016-04-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Found by clang static analyzer.
* | | | | | | | Allow adapting bytes using QuotedString on Python 3 tooDaniele Varrazzo2016-07-013-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Close #365.
* | | | | | | | Fixed encoding tests on Py3Daniele Varrazzo2016-07-011-3/+3
| | | | | | | |
* | | | | | | | Docs wrappingDaniele Varrazzo2016-07-011-4/+6
| | | | | | | |
* | | | | | | | Merge branch 'qstring-writable-encoding'Daniele Varrazzo2016-07-016-36/+114
|\ \ \ \ \ \ \ \
| * | | | | | | | Don't hope to encode stuff in an arbitrary encodingDaniele Varrazzo2016-07-012-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 problemDaniele Varrazzo2016-07-014-46/+43
| | | | | | | | |
| * | | | | | | | Work in progress on writable encodingDaniele Varrazzo2016-07-013-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 win32Daniele Varrazzo2016-07-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix #422.
* | | | | | | | Fixed segfault on repr() for uninitialized connectionsDaniele Varrazzo2016-07-012-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Close #361.
* | | | | | | | Wordsmithing on COPY commandsDaniele Varrazzo2016-07-012-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Address somehow issue #397.
* | | | | | | | Document that the libpq must be available at runtimeDaniele Varrazzo2016-07-011-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix issue #408.
* | | | | | | | Fix scattered grammar/spelling errors in comments, debug output, etc.Greg Ward2016-06-303-6/+6
|/ / / / / / /
* | | | | | | Merge pull request #373 from nonZero/patch-1Daniele Varrazzo2016-03-101-1/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Suggest installing psycopg2 in windows using pip
| * | | | | | | Suggest installing psycopg2 in windows using pipUdi Oron2015-11-101-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/masterDaniele Varrazzo2016-03-101-3/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | dont claim copyright for future years
| * | | | | | | dont claim copyright for future yearsBernhard M. Wiedemann2016-03-091-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_typosDaniele Varrazzo2016-03-101-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Typo.
| * | | | | | | Typo.Gabriel Linder2016-03-091-1/+1
| |/ / / / / /
* | | | | | | Merge branch 'py35'Daniele Varrazzo2016-03-104-2/+8
|\ \ \ \ \ \ \
| * | | | | | | Start advertising Py 3.5 supportDaniele Varrazzo2016-03-102-1/+2
| | | | | | | |
| * | | | | | | Fixed read() exception propagation in copy_fromDaniele Varrazzo2016-03-102-1/+6
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | Close issue #412.
* | | | | | | Merge branch 'msvc-2015-fix'Daniele Varrazzo2016-03-102-0/+5
|\ \ \ \ \ \ \
| * | | | | | | Py 3.5 MSVC 2015 build fixed noted in newsDaniele Varrazzo2016-03-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Close issue #380.
| * | | | | | | Work around late initialization in distutils._msvccompiler.Christian Ullrich2016-03-101-0/+4
|/ / / / / / /
* | | | | | | Merge branch 'setuptools'Daniele Varrazzo2016-03-104-9/+8
|\ \ \ \ \ \ \
| * | | | | | | Fixed 'make sdist' to work with setuptoolsDaniele Varrazzo2016-03-102-8/+3
| | | | | | | |
| * | | | | | | setuptools in the newsDaniele Varrazzo2016-03-101-0/+1
| | | | | | | |