Irina Truong
d997bddc54
Merge pull request #608 from lelit/issue-603
...
Fix issue #603
2016-11-01 15:29:04 -07:00
Lele Gaifax
d923ab3efd
Fix issue #603
...
Python 3 forbids comparisons between different types: use a tuple
containing a single 0 (zero) as the priority for path matches so that it
can be compared with those generated by the workhorse method find_matches().
2016-10-31 18:33:07 +01:00
Amjith Ramanujam
10a4f9c46a
Releasing version 1.3.1
2016-10-26 13:22:39 -07:00
darikg
7110018a8b
Merge pull request #607 from dbcli/amjith/release-1.3.1
...
Update changelog for version 1.3.1
2016-10-26 16:21:36 -04:00
Amjith Ramanujam
2f015c05f8
Update changelog for version 1.3.1
2016-10-26 12:37:46 -07:00
Amjith Ramanujam
a2f1f63523
Merge pull request #606 from dbcli/darikg/sqlparse022
...
Bump sqlparse to 0.2.2
2016-10-26 12:36:31 -07:00
Amjith Ramanujam
964b89ebc4
Releasing version 1.3.0
2016-10-26 09:52:07 -07:00
Darik Gamble
dd43364feb
token.is_group is now a property, not a method
2016-10-26 11:15:02 -04:00
Darik Gamble
fe422738e7
Dollar sign quotes are handled differently now, makes this function almost trivial
2016-10-26 11:14:45 -04:00
Darik Gamble
9c32912b32
Hardcode case where last token is 'AS'
...
Fixes failing tests. In earlier versions of sqlparse this dangling AS was grouped with the previous
identifier so this case was handled implicitly
2016-10-26 11:12:59 -04:00
Darik Gamble
3f2e686d4f
Bump min sqlparse version to 0.2.2
2016-10-26 11:11:36 -04:00
darikg
72afbd8e77
Merge pull request #602 from dbcli/amjith/release-1.3.0
...
Changelog and authors update for 1.3.0
2016-10-26 10:46:18 -04:00
Amjith Ramanujam
3e0aa27231
Changelog and authors update for 1.3.0
2016-10-22 10:11:11 -07:00
Amjith Ramanujam
92b2921fac
Merge pull request #601 from dbcli/amjith/py2.6-removal
...
Remove python 2.6 from travis.
2016-10-20 18:36:37 -07:00
Amjith Ramanujam
5f91246d67
Remove python 2.6 from travis.
2016-10-19 20:47:23 -07:00
Amjith Ramanujam
4d149e827d
Merge pull request #598 from dbcli/darikg/unrecognized-keywords
...
Darikg/unrecognized keywords
2016-10-19 20:46:42 -07:00
darikg
a5a9fafc2f
Merge pull request #599 from lelit/fix-pgclirc-typo
...
Fix typo in the decimal representation example
2016-10-17 19:29:24 -04:00
Lele Gaifax
9584c82a35
Fix typo in the decimal representation example
2016-10-17 20:27:29 +02:00
Darik Gamble
d82591f7b7
Handle empty case
2016-10-17 13:58:52 -04:00
Darik Gamble
0881902207
If prev_keyword is an unrecognized keyword, go backward until we find a recognized one
2016-10-17 13:48:55 -04:00
Darik Gamble
59d892ae0e
Add option to find_prev_keyword to skip final keyword
2016-10-17 13:48:55 -04:00
Amjith Ramanujam
1b6fee1f6e
Merge pull request #596 from lelit/issue595
...
Fix for issue #595
2016-10-16 10:41:36 -07:00
Lele Gaifax
44ceb97522
Fix #595 : use a double escape in the replacement argument to re.sub()
...
Starting with version 3.6 Python is getting stricter in which escape
sequences it accepts in string literals, so unknown codes must use a
double backslash.
This also use the sub() method on the compiled pattern, instead of
passing it to the "generic" re.sub() function.
2016-10-15 13:19:16 +02:00
Lele Gaifax
47d39660b6
Fix the position of the behave.ini file
2016-10-15 13:18:11 +02:00
Amjith Ramanujam
12c268c13b
Merge pull request #591 from dbcli/darikg/fix-formatting-bug
...
Minimal fix for #590
2016-10-03 20:42:49 -07:00
Darik Gamble
a61090c1f3
Don't coerce strings into numeric type formatting
2016-10-03 10:24:08 -04:00
Darik Gamble
feea19442b
Convert type to int before attempting formatting
2016-10-02 13:48:42 -04:00
Amjith Ramanujam
ab6efc7457
Merge pull request #583 from foxyterkel/master
...
master: numbers division for int and float
2016-09-29 06:57:02 -07:00
Foxygrandpa
0ef94c984b
master: decimal and float format in config file
2016-09-27 13:43:28 +03:00
Amjith Ramanujam
a39f5c5cb3
Merge pull request #589 from mbarkhau/fix/588
...
fixes #588 invalid setting for redshift
2016-09-25 21:35:20 -07:00
Manuel Barkhau
ec13d9b77d
fix for 'SHOW ALL' of posgtres (redshift doesn't return a description)
2016-09-21 19:32:00 +02:00
Manuel Barkhau
185620bb3f
fixes #588 invalid setting for redshift
2016-09-21 19:24:21 +02:00
darikg
0e88a91dc1
Merge pull request #586 from dbcli/amjith/relax-sqlparse-version
...
Set sqlparse version dependency to >0.2.0, <0.3.0.
2016-09-21 08:27:24 -04:00
Amjith Ramanujam
d32353e6d3
Set sqlparse version dependency to >0.2.0, <0.3.0.
2016-09-20 20:58:20 -07:00
Amjith Ramanujam
fa9e01cd85
Merge pull request #582 from amigrave/master
...
XDG_CONFIG_HOME support for config file location
2016-09-15 22:30:06 -07:00
Foxygrandpa
fa4ebb5660
master: numbers division for int and float
2016-09-15 20:55:42 +03:00
Fabien Meghazi
5c6be4513e
XDG_CONFIG_HOME support for config file location
2016-09-13 22:47:35 +02:00
Amjith Ramanujam
153a72944c
Merge pull request #581 from dbcli/koljonen/leading_parenthesis_crash
...
Fix crash bug with leading parenthesis
2016-09-12 14:57:39 -07:00
Joakim Koljonen
514b594909
Fix crash bug with leading parenthesis
2016-09-12 23:48:22 +02:00
Amjith Ramanujam
a0f1826be3
Merge pull request #577 from dbcli/koljonen/multiline_enter
...
Make semicolon not trigger execution in multiline mode
2016-09-12 14:28:05 -07:00
Joakim Koljonen
99868bbc31
Option for semicolon not to trigger execution in multiline mode
...
New setting multi_line_mode (default "psql"). If set to "safe",
[Esc] [Enter] or [Alt]-[Enter] is required to execute a query.
2016-09-12 22:28:32 +02:00
Joakim Koljonen
f76a7b0a58
Merge pull request #578 from dbcli/amjith/fix-timing
...
Remove cumulative addition of timing data.
2016-09-10 18:15:32 +02:00
Amjith Ramanujam
5afec288f5
Remove cumulative addition of timing data.
2016-09-05 20:25:11 -07:00
Joakim Koljonen
8f4dad15d4
Merge pull request #576 from dbcli/darikg/keyword-casing
...
Support configuring keyword casing preferences
2016-09-04 21:00:17 +02:00
Darik Gamble
f506dfbcaa
Support configuring keyword casing preferences
2016-09-04 08:41:15 -04:00
Amjith Ramanujam
36734f3383
Releasing version 1.2.0
2016-09-02 20:07:58 -07:00
Amjith Ramanujam
979d07097f
Merge pull request #574 from dbcli/amjith/release-1.2.0
...
Update changelog for version 1.2.0 release.
2016-09-02 20:06:37 -07:00
Amjith Ramanujam
cea051922d
Update Changelog.
2016-09-02 06:47:36 -07:00
Amjith Ramanujam
f9b73bfa25
Merge pull request #571 from dbcli/darikg/no-hang-wait-select
...
WIP: Use tweaked version of psycopg2.extras.wait_select to supply a timeout
2016-09-02 06:44:19 -07:00
Amjith Ramanujam
84aa89d112
Update changelog for version 1.2.0 release.
2016-09-01 05:45:18 -07:00