Conversation
7586307 to
7268b4d
Compare
|
Awesome! Thank you for you contribution; I am not the owner of the project, but let me share my thoughts for Aurora DB supports: Looks like it's a variant of PostgreSQL's So how about to add Supporting ASYNC keywords in DDL souds great as well, as the users of Aurora would want to write it in desired DDLs. Regadting the transaction separations, @k0kubun what do you think? |
The design would prevent Aurora users from using
Sounds good. P.S.
You're literally an owner of this organization. Given the amount of contributions you've made to sqldef, I have no problem with you acting as an owner of this project. |
|
Note that DSQL is a different product and has unique dialect and characteristics, unlike traditional Aurora instances which is based on MySQL and PostgreSQL. Therefore if we would add flavor option, that must be named ‘dsql’. Generator option to add ‘ASYNC’ flag should work, but IIRC ASYNC flag is retained on exports - I need to double check later |
|
Ah, I misunderstood ... I see, Aurora DSQL is different from Aurora Pg nor Aurora MySQL, and only Aurora DSQL supports Okay, LGTM.
🙆♀️ 🌟 |
|
I'm thinking about CI -- Now that a slightly different dialect of PostgreSQL has been introduced without tests, we'd better setting up CI for Aurora DSQL. Are you interested in it? It's really important because I am planning to migrate psqldef's parser from pgquery to the generic parser (e.g. preliminary survey: #868). |
After I told you all here need to double check later earlier, this option was determined possible. so I was preparing the another version of this patch with this direction… but now the initial patch has been merged (thanks!) I am happy with either way. Maybe having generator option is much simpler in term of parser.
It'd be helpful, but how do we? Wondering about who owes cost, and how to establish AWS access in pull requests. |
I think there are two ways (in any ways, you must have an admin permisson of this repository):
The latter may be good enough, but I can't imagine how much trouble it will be (setting up a dedicated AWS account, OIDC, Aurora DSQL, and so on ...). |
Completes #716
This patch adds 2 dialect support for Amazon Aurora DSQL.
CREATE INDEX ASYNCsyntaxdisable_ddl_transactionflag to exclude all DDLs from transaction.