| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | More straightforward semantics for psyco_GetDecimalType | Daniele Varrazzo | 2019-01-21 | 1 | -6/+3 |
| | | | | | Raise an exception when returning NULL, leave the caller cleaning it. | ||||
| * | Mark psyco_set_error as returning a borrowed object | Daniele Varrazzo | 2019-01-21 | 1 | -2/+1 |
| | | |||||
| * | Added utils.h file | Daniele Varrazzo | 2019-01-21 | 1 | -0/+113 |
| | | | | | | | utils.c functions definition moved out of psycopg.h Some utility functions defined into psycopgmodule.c moved into utils.c. | ||||
| * | psycopg_escape_string: don't make me cringe | Daniele Varrazzo | 2019-01-21 | 1 | -8/+8 |
| | | | | | Just reformatted. | ||||
| * | Allow strings subclasses in ensure_bytesfix-679 | Daniele Varrazzo | 2018-02-21 | 1 | -2/+2 |
| | | | | | Fix #679 | ||||
| * | Fix typo in comment in utils.c | Ronan Amicel | 2017-12-14 | 1 | -1/+1 |
| | | |||||
| * | Obscure the password on url dsn too | Daniele Varrazzo | 2017-03-16 | 1 | -0/+24 |
| | | | | | | | Note that we don't leak anymore the password length. Fix #528 | ||||
| * | Don't look up for Python encoding | Daniele Varrazzo | 2016-12-29 | 1 | -0/+54 |
| | | | | | | | Store the encode/decode functions for the right codec in the connection. The Python encoding name has been dropped of the connection to avoid the temptation to use it... | ||||
| * | Use -1 instead of 0 to say "calculate the length" in many funcs | Daniele Varrazzo | 2016-12-27 | 1 | -6/+8 |
| | | | | | 0 is a valid length, isn't it? | ||||
| * | Merge branch 'master' into named-callproc | Daniele Varrazzo | 2016-12-26 | 1 | -44/+12 |
| |\ | |||||
| | * | Dropped internal escape identifier function | Daniele Varrazzo | 2016-12-26 | 1 | -22/+18 |
| | | | | | | | | | Using libpq one as now it's guaranteed to be present. | ||||
| * | | Merge branch 'master' into named-callproc | Daniele Varrazzo | 2016-12-26 | 1 | -3/+35 |
| |\ \ | |/ | |||||
| | * | Dropped ifdef guards against obsolete libpq versions | Daniele Varrazzo | 2016-08-15 | 1 | -2/+0 |
| | | | | | | | | | | | One of them was actually wrong: lobject_type.c wouldn't have compiled pre 8.3 (broken in 6e841a41, 2 years ago). | ||||
| | * | Throw an exception when a NUL character is used as a parameter. | Alexander Schrijver | 2016-07-18 | 1 | -1/+6 |
| | | | |||||
| | * | Add connection.get_dsn_parameters() | Oleksandr Shulgin | 2015-10-30 | 1 | -0/+29 |
| | | | |||||
| * | | Return input tuple in cur.callproc, factor code to use PQescapeIdentifier in ↵ | mrmilosz | 2015-12-13 | 1 | -2/+31 |
| |/ | | | | single place | ||||
| * | Add psycopg2.extensions.quote_ident. | Oleksandr Shulgin | 2015-10-14 | 1 | -2/+2 |
| | | |||||
| * | Dropped PG_VERSION_HEX constant | Daniele Varrazzo | 2015-06-02 | 1 | -1/+1 |
| | | | | | At PostgreSQL 10.0 it would have become awkward. | ||||
| * | Static-type psycopg_escape_string connection parameter | Daniele Varrazzo | 2013-04-05 | 1 | -2/+1 |
| | | |||||
| * | Set a memory exception in psycopg_escape_string | Daniele Varrazzo | 2013-04-04 | 1 | -8/+25 |
| | | | | | ...otherwise all the callers should set it. | ||||
| * | Store a PGresult in the Exception error | Daniele Varrazzo | 2013-03-19 | 1 | -0/+6 |
| | | | | | | This makes the Diagnostics independent from further operations on the cursor and allows using it with exceptions not generated by a cursor. | ||||
| * | Use more compact macros to annotate functions for the static checker | Daniele Varrazzo | 2012-03-01 | 1 | -6/+3 |
| | | |||||
| * | Functions setting exception return a negative value on error | Daniele Varrazzo | 2012-03-01 | 1 | -9/+9 |
| | | | | | | This works around another shortcoming of the static checker; also to be discussed with the author. | ||||
| * | Flag the psycopg_ensure_*() functions as stealing a ref | Daniele Varrazzo | 2012-02-24 | 1 | -0/+2 |
| | | |||||
| * | The cursor name can be a non-valid PostgreSQL identifier | Daniele Varrazzo | 2011-02-23 | 1 | -0/+37 |
| | | |||||
| * | COPY sends unicode to a file if it derives from io.TextIoBase | Daniele Varrazzo | 2011-02-05 | 1 | -0/+40 |
| | | | | | Fixes ticket #36. | ||||
| * | Function psycopg_ensure_bytes converted in a "filter" stealing a ref. | Daniele Varrazzo | 2010-12-31 | 1 | -4/+11 |
| | | |||||
| * | Added utility function to convert bytes to string in Python 3. | Daniele Varrazzo | 2010-12-31 | 1 | -0/+24 |
| | | |||||
| * | Added utility function to get bytes from a str/unicode. | Daniele Varrazzo | 2010-12-31 | 1 | -0/+26 |
| | | |||||
| * | Added psycopg_strdup utility function. | Daniele Varrazzo | 2010-12-21 | 1 | -0/+22 |
| | | |||||
| * | Internal imports simplified. | Daniele Varrazzo | 2010-12-12 | 1 | -4/+3 |
| | | | | | | | | | | | .c files only need to import psycopg.h: it will in turn import dependencies from Python and libpq and configure.h. psycopg.h should be the first to be imported, so the basic imports are not required in the .h's As a guideline I'm trying to import from the most specific to the most generic to detect missing imports in the .h's. | ||||
| * | Dropped unused include file. | Daniele Varrazzo | 2010-12-12 | 1 | -1/+0 |
| | | |||||
| * | Compiler warning dropped. | Daniele Varrazzo | 2010-11-18 | 1 | -0/+1 |
| | | |||||
| * | Dropped PSYCOPG_OWN_QUOTING. | Daniele Varrazzo | 2010-10-08 | 1 | -32/+0 |
| | | | | | | | | | It was deprecated for version 2.1. There are bugs to be fixed made more complex by its presence and it doesn't keep into account PostgreSQL 9.0 new binary format. Time to go! | ||||
| * | Changes license to LGPL3 + OpenSSL exception on all source files | Federico Di Gregorio | 2010-02-12 | 1 | -0/+21 |
| | | |||||
| * | * psycopg/utils.c (psycopg_escape_string): same here. | James Henstridge | 2009-02-17 | 1 | -3/+1 |
| | | | | | | | | | | * psycopg/adapter_binary.c (binary_escape): simplify PostgreSQL version check. * setup.py (psycopg_build_ext.finalize_options): use a single define of the PostgreSQL version in a form that can easily be used by #ifdefs. | ||||
| * | Patch from Jason Erickson to build on MSVC | Federico Di Gregorio | 2008-11-26 | 1 | -1/+3 |
| | | |||||
| * | Unified string quoting | Federico Di Gregorio | 2008-11-25 | 1 | -23/+64 |
| | | |||||
| * | Applied COPY patch from Alejandro Dubrovsky (missing files and project) | Federico Di Gregorio | 2008-11-25 | 1 | -0/+43 |
