<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/sqlparse.git/sqlparse, branch 0.4.0</title>
<subtitle>github.com: andialbrecht/sqlparse.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlparse.git/'/>
<entry>
<title>Bump version to 0.4.0.</title>
<updated>2020-10-07T06:57:20+00:00</updated>
<author>
<name>Andi Albrecht</name>
<email>albrecht.andi@gmail.com</email>
</author>
<published>2020-10-07T06:57:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=982ecdf1ef1b3224ca0c4a8f3e7a50bbb59df559'/>
<id>982ecdf1ef1b3224ca0c4a8f3e7a50bbb59df559</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright notice.</title>
<updated>2020-10-07T06:54:27+00:00</updated>
<author>
<name>Andi Albrecht</name>
<email>albrecht.andi@gmail.com</email>
</author>
<published>2020-10-07T06:54:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=10b0ec24cefc4e2c36a04e1250a0635051071f35'/>
<id>10b0ec24cefc4e2c36a04e1250a0635051071f35</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Stabilize formatting of invalid WHERE clauses.</title>
<updated>2020-09-30T13:39:54+00:00</updated>
<author>
<name>Andi Albrecht</name>
<email>albrecht.andi@gmail.com</email>
</author>
<published>2020-09-30T13:39:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=11a6b7db8b19bf1f92754a6272839c66ee630683'/>
<id>11a6b7db8b19bf1f92754a6272839c66ee630683</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve formatting of type casts in parentheses.</title>
<updated>2020-09-30T13:30:00+00:00</updated>
<author>
<name>Andi Albrecht</name>
<email>albrecht.andi@gmail.com</email>
</author>
<published>2020-09-30T13:30:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=f578d03ef7a0d1b0f84c59c4699ee307e725fc9c'/>
<id>f578d03ef7a0d1b0f84c59c4699ee307e725fc9c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix an issue with negative indexes causing IndexError in some cases.</title>
<updated>2020-09-30T13:15:56+00:00</updated>
<author>
<name>Andi Albrecht</name>
<email>albrecht.andi@gmail.com</email>
</author>
<published>2020-09-30T13:15:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=10231d89d76cb467729fb7391c6a80938d6c5f76'/>
<id>10231d89d76cb467729fb7391c6a80938d6c5f76</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix splitting of statements using CASE ... WHEN (fixes #580).</title>
<updated>2020-09-30T08:15:26+00:00</updated>
<author>
<name>Andi Albrecht</name>
<email>albrecht.andi@gmail.com</email>
</author>
<published>2020-09-30T08:15:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=d7b1ee37ad71f77b2c7334dd8e76f27b68e18ef6'/>
<id>d7b1ee37ad71f77b2c7334dd8e76f27b68e18ef6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix splitting when using DECLARE ... HANDLER (fixes #581).</title>
<updated>2020-09-30T07:31:40+00:00</updated>
<author>
<name>Andi Albrecht</name>
<email>albrecht.andi@gmail.com</email>
</author>
<published>2020-09-30T07:31:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=990500a149920b02b2b6e5ffe6e747dea7c6739e'/>
<id>990500a149920b02b2b6e5ffe6e747dea7c6739e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't make parsing of square bracket identifiers too greedy (fixes #583).</title>
<updated>2020-09-30T06:11:53+00:00</updated>
<author>
<name>Andi Albrecht</name>
<email>albrecht.andi@gmail.com</email>
</author>
<published>2020-09-30T06:11:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=cd4a723ee509437166b0f3e0fd62322ecc7bbd99'/>
<id>cd4a723ee509437166b0f3e0fd62322ecc7bbd99</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add RLIKE keyword</title>
<updated>2020-09-30T05:24:23+00:00</updated>
<author>
<name>Will Jones</name>
<email>willjones127@gmail.com</email>
</author>
<published>2020-09-29T00:40:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=a887b6d44a69e8a40a325a44635a229c50e3b3bf'/>
<id>a887b6d44a69e8a40a325a44635a229c50e3b3bf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add postgres WINDOW keyword</title>
<updated>2020-09-30T05:21:06+00:00</updated>
<author>
<name>ali-tny</name>
<email>aliteeney@googlemail.com</email>
</author>
<published>2020-09-26T06:29:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/sqlparse.git/commit/?id=4c570778b2e1c06e8bfcb3c48ae5baeff908fcdf'/>
<id>4c570778b2e1c06e8bfcb3c48ae5baeff908fcdf</id>
<content type='text'>
Postgres allows statements of the form:
```sql
SELECT col_1, col_2, SUM(col_3) OVER w
FROM x
WINDOW w AS (PARTITION BY col_1 ORDER BY col_2)
```
where the window is defined once at the end of the query (see
https://www.postgresql.org/docs/9.5/sql-select.html).

This change adds WINDOW as a postgres keyword, preventing queries like
the above being misparsed, with table name and WINDOW being grouped into
an single identifier &lt;Identifier 'x WINDOW'&gt;.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Postgres allows statements of the form:
```sql
SELECT col_1, col_2, SUM(col_3) OVER w
FROM x
WINDOW w AS (PARTITION BY col_1 ORDER BY col_2)
```
where the window is defined once at the end of the query (see
https://www.postgresql.org/docs/9.5/sql-select.html).

This change adds WINDOW as a postgres keyword, preventing queries like
the above being misparsed, with table name and WINDOW being grouped into
an single identifier &lt;Identifier 'x WINDOW'&gt;.
</pre>
</div>
</content>
</entry>
</feed>
