-
Notifications
You must be signed in to change notification settings - Fork 515
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into add-postgresql-alter-column-default
- Loading branch information
Showing
29 changed files
with
276 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
mike==1.1.2 | ||
mkdocs==1.5.3 | ||
mkdocs-macros-plugin==1.0.5 | ||
mkdocs-material==9.5.2 | ||
mkdocs-material==9.5.6 | ||
mkdocs-material-extensions==1.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
dialects/postgresql/src/testFixtures/resources/fixtures_postgresql/set/Test.s
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
SET test = yes; | ||
SET test = 'yes'; | ||
SET test = DEFAULT; | ||
SET test TO yes; | ||
SET test TO 'yes'; | ||
SET test TO DEFAULT; | ||
|
||
SET SESSION test = yes; | ||
SET LOCAL test = yes; | ||
|
||
SET TIME ZONE 'PST8PDT'; | ||
SET TIME ZONE 'Europe/Paris'; | ||
SET TIME ZONE +1; | ||
SET TIME ZONE -7; | ||
SET TIME ZONE INTERVAL '-08:00' HOUR TO MINUTE; | ||
SET TIME ZONE LOCAL; | ||
SET TIME ZONE DEFAULT; | ||
|
||
SET SCHEMA 'postgres'; | ||
|
||
SET NAMES 'utf8'; | ||
SET NAMES DEFAULT; | ||
|
||
SET SEED TO 0.1; | ||
SET SEED TO -0.5; | ||
SET SEED TO DEFAULT; |
19 changes: 19 additions & 0 deletions
19
...lin/app/cash/sqldelight/dialects/sqlite_3_25/grammar/mixins/AlterTableColumnAliasMixin.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package app.cash.sqldelight.dialects.sqlite_3_25.grammar.mixins | ||
|
||
import app.cash.sqldelight.dialects.sqlite_3_25.grammar.SqliteParser | ||
import app.cash.sqldelight.dialects.sqlite_3_25.grammar.psi.SqliteAlterTableRenameColumn | ||
import com.alecstrong.sql.psi.core.psi.SqlColumnAlias | ||
import com.alecstrong.sql.psi.core.psi.SqlColumnName | ||
import com.alecstrong.sql.psi.core.psi.impl.SqlColumnAliasImpl | ||
import com.intellij.lang.ASTNode | ||
import com.intellij.lang.PsiBuilder | ||
import com.intellij.psi.util.PsiTreeUtil | ||
|
||
internal abstract class AlterTableColumnAliasMixin( | ||
node: ASTNode, | ||
) : SqlColumnAliasImpl(node), | ||
SqlColumnAlias { | ||
override val parseRule: (PsiBuilder, Int) -> Boolean = SqliteParser::alter_table_column_alias_real | ||
|
||
override fun source() = PsiTreeUtil.getChildOfType(parent as SqliteAlterTableRenameColumn, SqlColumnName::class.java)!! | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.