Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fix "WITH name" case (#418) | andrew deryabin | 2018-07-08 | 1 | -1/+2 | |
| | | | | | | * fix "WITH name" case * fix "WITH name" case (flake8 fix) | |||||
* | Correct spelling (#407) | Josh Soref | 2018-05-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | * spelling: choice * spelling: duplicate * spelling: identifier * spelling: issue * spelling: parenthesis * spelling: split * spelling: statements | |||||
* | Deal with long function params | Soloman Weng | 2018-03-26 | 1 | -2/+5 | |
| | ||||||
* | Wrap long function | Soloman Weng | 2018-03-26 | 1 | -0/+31 | |
| | ||||||
* | Fix issue with get_real_name returning incorrect name | Fredy Wijaya | 2018-03-21 | 1 | -3/+4 | |
| | ||||||
* | Merge pull request #396 from fredyw/issue_385 | Andi Albrecht | 2018-03-21 | 1 | -0/+1 | |
|\ | | | | | Fix incorrect splitting with double quotes and a new line | |||||
| * | Fix incorrect splitting with double quotes and a new line | Fredy Wijaya | 2018-03-09 | 1 | -0/+1 | |
| | | ||||||
* | | Merge pull request #393 from digitalarbeiter/indent_identifiers | Andi Albrecht | 2018-03-21 | 3 | -3/+25 | |
|\ \ | | | | | | | Option: indent all identifiers, including the first one, by width | |||||
| * | | new option --indent_columns to indent all columns by --indent_width | Patrick Schemitz | 2018-03-03 | 1 | -0/+7 | |
| | | | ||||||
| * | | indent all identifiers, including the first one, by width instead of keyword ↵ | Patrick Schemitz | 2018-03-03 | 2 | -3/+18 | |
| |/ | | | | | | | length | |||||
* | | fix trailing semicolon error | circld | 2018-02-17 | 1 | -1/+2 | |
|/ | ||||||
* | Remove duplicate StringIO import | Jon Dufresne | 2018-01-04 | 1 | -1/+0 | |
| | ||||||
* | Add more Postgres types. [1] | Jesse Claven | 2017-12-18 | 1 | -0/+27 | |
| | | | | [1] https://www.postgresql.org/docs/9.5/static/datatype.html#DATATYPE-TABLE | |||||
* | Code cleanup. | Andi Albrecht | 2017-12-03 | 1 | -5/+6 | |
| | ||||||
* | Fix regression introduced by new indent_after_first option. | Andi Albrecht | 2017-12-03 | 1 | -0/+1 | |
| | ||||||
* | Fix typostypo | Victor Uriarte | 2017-11-29 | 8 | -18/+18 | |
| | ||||||
* | Merge pull request #345 from johshoff/master | Andi Albrecht | 2017-11-24 | 3 | -2/+15 | |
|\ | | | | | Option to indent after first line | |||||
| * | Adhere to style | Johannes Hoff | 2017-11-23 | 1 | -1/+1 | |
| | | ||||||
| * | Option to indent after first line | Johannes Hoff | 2017-06-20 | 3 | -2/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a command line argument `--indent_after_first` which sets the indentation of all lines after the first one, e.g. SELECT, UPDATE, etc. For example: $ sqlparse/__main__.py -r sample.sql UPDATE foo SET a = 1 WHERE a > 2 AND a < 10; $ sqlparse/__main__.py -r --indent_after_first sample.sql UPDATE foo SET a = 1 WHERE a > 2 AND a < 10; | |||||
* | | Fix unclosed file warnings discovered during tests | Jon Dufresne | 2017-10-28 | 1 | -2/+5 | |
| | | | | | | | | | | | | | | | | Appear as: ResourceWarning: unclosed file ... Always explicitly close files or detach file wrappers. | |||||
* | | Switch back to development. | Andi Albrecht | 2017-09-27 | 1 | -1/+1 | |
| | | ||||||
* | | This is 0.2.4.0.2.4 | Andi Albrecht | 2017-09-27 | 1 | -1/+1 | |
| | | ||||||
* | | Close files during tests. | Andi Albrecht | 2017-09-24 | 1 | -1/+6 | |
| | | ||||||
* | | Fix handling of semicolon when grouping assignments (fixes #359). | Andi Albrecht | 2017-09-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | When grouping assignments that contain a semicolon itself, the engine was too greedy. Assignments with semicolon were introduced in 691c0400e5a7d8229b7dce09bf47176539add328. | |||||
* | | Merge branch 'master' into master | Andi Albrecht | 2017-09-21 | 3 | -14/+32 | |
|\ \ | ||||||
| * | | Code cleanup. | Andi Albrecht | 2017-09-14 | 1 | -11/+11 | |
| | | | ||||||
| * | | Merge pull request #357 from Demetrio92/master | Andi Albrecht | 2017-09-14 | 1 | -0/+16 | |
| |\ \ | | | | | | | | | add PL/pgSQL syntax | |||||
| | * | | add PL/pgSQL syntax | Demetrio92 | 2017-08-07 | 1 | -0/+16 | |
| | | | | | | | | | | | | tested with mxtr/SQLTools | |||||
| * | | | Extend alphas with accented characters | mvbentes | 2017-08-25 | 1 | -7/+7 | |
| |/ / | ||||||
| * | | Don't treat sysdate as a builtin (fixes #344). | Andi Albrecht | 2017-07-29 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | According to Oracle's developer documentation sysdate is a function that doesn't require any parameters. Hence it's different from other builtins like int or varchar. | |||||
| * | | Fix parsing of UNION ALL after WHERE (fixes #349). | Andi Albrecht | 2017-07-29 | 1 | -2/+3 | |
| |/ | ||||||
| * | Recognize MySQL table names starting with digits (fixes #337). | Andi Albrecht | 2017-05-25 | 1 | -2/+2 | |
| | | ||||||
| * | Add MySQL keywords: ENGINE, AUTO_INCREMENT, CHARSET | Oleg Broytman | 2017-05-11 | 1 | -0/+3 | |
| | | | | | | | | | | | | | | | | | | These are keywords from table options: CREATE TABLE name ( column definitions, ... ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8; | |||||
| * | Use generator expression to avoid unnecessary temporary list | Jon Dufresne | 2017-04-29 | 1 | -2/+2 | |
| | | ||||||
* | | adds '1.' option support for float numbers regex | atronah | 2017-04-30 | 1 | -2/+3 | |
|/ | ||||||
* | Merge pull request #328 from phdru/mysql_unlock | Andi Albrecht | 2017-04-19 | 1 | -0/+1 | |
|\ | | | | | Add UNLOCK keyword | |||||
| * | Add UNLOCK keyword | Oleg Broytman | 2017-04-14 | 1 | -0/+1 | |
| | | ||||||
* | | Re-order parsing so that comparisons are seens as identifiers (fixes #327). | Andi Albrecht | 2017-04-18 | 1 | -2/+2 | |
|/ | ||||||
* | Switch back to development version. | Andi Albrecht | 2017-03-02 | 1 | -1/+1 | |
| | ||||||
* | Bump version.0.2.3 | Andi Albrecht | 2017-03-02 | 1 | -1/+1 | |
| | ||||||
* | Fix parsing of INTO keyword in WHERE clauses (fixes #324). | Andi Albrecht | 2017-03-02 | 1 | -1/+1 | |
| | ||||||
* | CONCURRENTLY should be handled as a keyword | Rowan Seymour | 2017-02-09 | 1 | -0/+1 | |
| | ||||||
* | Putting LIMIT on a new line #320 | Romain Rigaux | 2017-02-04 | 1 | -1/+1 | |
| | | | https://github.com/andialbrecht/sqlparse/issues/320 | |||||
* | Don't treat GROUPS as a keyword, it's too common for table names. | Andi Albrecht | 2017-01-24 | 1 | -1/+2 | |
| | ||||||
* | Don't treat STATE as a keyword, it causes too much troubles (fixes #296). | Andi Albrecht | 2017-01-23 | 1 | -1/+1 | |
| | ||||||
* | CLI: Add --encoding option | Tao Wang | 2017-01-12 | 1 | -6/+15 | |
| | | | | | | | | * Add `--encoding` option with default utf-8 * Make sure input and output are in same encoding * Add test cases Signed-off-by: Tao Wang <twang2218@gmail.com> | |||||
* | Fix encoding logic/order | Victor Uriarte | 2017-01-10 | 1 | -5/+6 | |
| | | | | | | - If user provides an encoding value, use it instead of trying to _guess_ first. - If no value is provided, then decode with default of utf-8, otherwise try with unicode-escape | |||||
* | Fix #315 support utf-8 by default | Tao Wang | 2017-01-11 | 1 | -1/+1 | |
| | | | | Signed-off-by: Tao Wang <twang2218@gmail.com> | |||||
* | Fix _flatten_up_to_token() to be PEP 479 compatible | Jon Dufresne | 2017-01-10 | 1 | -1/+1 | |
| | | | | | | | | Fixes warning during tests: PendingDeprecationWarning: generator 'ReindentFilter._flatten_up_to_token' raised StopIteration PEP 479 documentation: https://www.python.org/dev/peps/pep-0479/ | |||||
* | Make reindent more robust regarding max recursion errors. | Andi Albrecht | 2016-10-25 | 1 | -1/+2 | |
| |