Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix representation of sql.Placeholder2_9_1 | Daniele Varrazzo | 2021-06-17 | 1 | -1/+4 |
| | | | | | Fix also Placeholder tests, including an error which made an assert always true, which made us miss the regression in #1291. | ||||
* | Fix regression with named `sql.Placeholder` | Daniele Varrazzo | 2021-06-16 | 1 | -1/+1 |
| | | | | Close #1291. | ||||
* | Copyright year updated to 2021 | Daniele Varrazzo | 2021-06-15 | 1 | -1/+1 |
| | | | | | ag -l Copyright | xargs sed -i \ "s/\(.*copyright (C) [0-9]\+\)\(-[0-9]\+\)\?\(.*Psycopg Team.*\)/\1-$(date +%Y)\3/I" | ||||
* | Unbreak f-string wrong replacements | Daniele Varrazzo | 2021-05-20 | 1 | -1/+1 |
| | |||||
* | Upgrade f-strings with flynt | Hugo van Kemenade | 2020-11-17 | 1 | -9/+6 |
| | |||||
* | Upgrade Python syntax with pyupgrade --py36-plus | Hugo van Kemenade | 2020-11-17 | 1 | -9/+9 |
| | |||||
* | Drop support for EOL Python 2.7 | Hugo van Kemenade | 2020-11-17 | 1 | -6/+5 |
| | |||||
* | Copyright bumped to 2020 | Daniele Varrazzo | 2020-01-17 | 1 | -0/+1 |
| | |||||
* | Use PY2, PY3 for conditional code instead of sys.version_info | Daniele Varrazzo | 2019-03-16 | 1 | -3/+2 |
| | |||||
* | Fix typo | David Fischer | 2019-02-26 | 1 | -1/+1 |
| | |||||
* | Copyright year updated | Daniele Varrazzo | 2019-02-17 | 1 | -1/+1 |
| | | | | | ag -l Copyright | xargs sed -i \ "s/\(.*copyright (C) [0-9]\+\)\(-[0-9]\+\)\?\(.*\)/\1-$(date +%Y)\3/I" | ||||
* | sql.Identifier can wrap a sequence of strings to represent qualified namesidentifier-sequence | Daniele Varrazzo | 2018-10-04 | 1 | -8/+38 |
| | | | | Close #732. | ||||
* | Drop 2to3 build step; make all code compatible with all Pythons | Jon Dufresne | 2017-12-11 | 1 | -4/+5 |
| | | | | | | | | | | | | | | | | Make all library code compatible with both Python 2 and Python 3. Helps move to modern Python idioms. Can now write for Python 3 (with workarounds for Python 2) instead of the other way around. In the future, when it is eventually time to drop Python 2, the library will be in a better position to remove workarounds Added a very small comparability module compat.py where required. It includes definitions for: - text_type -- A type. str on Python 3. unicode on Python 2. - string_types -- A tuple. Contains only str on Python 3. Contains str & unicode on Python 2. | ||||
* | Use builtin function next() throughout project | Jon Dufresne | 2017-12-01 | 1 | -1/+1 |
| | | | | | | | Available since Python 2.6. Use of .next() is deprecated and not supported in Python 3. Forward compatible with modern Python. https://docs.python.org/2/library/functions.html#next | ||||
* | Documentation tweaked to omit Python 2.6 distinctions | Daniele Varrazzo | 2017-11-28 | 1 | -6/+6 |
| | |||||
* | Dropped repeated doc links in the same paragraph | Daniele Varrazzo | 2017-03-16 | 1 | -6/+6 |
| | | | | And some more sql docs cleanup. | ||||
* | Added docs about the usability of sql objects with copy_expert()sql-copy | Daniele Varrazzo | 2017-03-16 | 1 | -5/+6 |
| | | | | See issue #529. | ||||
* | Added test to verify sql objects work with copy_expert() | Daniele Varrazzo | 2017-03-16 | 1 | -1/+1 |
| | | | | | | I'll be honest: I lucked out, I didn't think about this combination. But maybe sheer luck, maybe using common code paths, it just works. Let's make it stays so. | ||||
* | Autonumbered args not available in Python 2.6 | Daniele Varrazzo | 2017-01-03 | 1 | -7/+7 |
| | |||||
* | Several improvements to the sql objects | Daniele Varrazzo | 2017-01-03 | 1 | -76/+95 |
| | | | | Comparable, iterable, content accessible | ||||
* | Use {} instead of %s placeholders in SQL composition | Daniele Varrazzo | 2017-01-03 | 1 | -135/+84 |
| | |||||
* | More doc love for the sql module | Daniele Varrazzo | 2017-01-01 | 1 | -19/+39 |
| | |||||
* | sql module docs wordsmithing | Daniele Varrazzo | 2017-01-01 | 1 | -4/+4 |
| | |||||
* | Dropped sql.compose | Daniele Varrazzo | 2017-01-01 | 1 | -16/+28 |
| | | | | Use a SQL % operator instead. | ||||
* | Adding sql module documentation | Daniele Varrazzo | 2017-01-01 | 1 | -24/+147 |
| | |||||
* | Typo: composible -> composable | Daniele Varrazzo | 2017-01-01 | 1 | -10/+10 |
| | |||||
* | Fixed sql.compose with no args and added tests | Daniele Varrazzo | 2017-01-01 | 1 | -4/+4 |
| | |||||
* | Fixed sql.Composed representation | Daniele Varrazzo | 2017-01-01 | 1 | -1/+1 |
| | |||||
* | Fixed sql stuff in Py3 | Daniele Varrazzo | 2017-01-01 | 1 | -9/+15 |
| | |||||
* | Added sql.compose() implementation | Daniele Varrazzo | 2017-01-01 | 1 | -2/+98 |
| | |||||
* | Added basic sql module implementation | Daniele Varrazzo | 2017-01-01 | 1 | -0/+174 |
| | |||||
* | Adding some boilerplate for the new module | Daniele Varrazzo | 2017-01-01 | 1 | -0/+25 |