Skip to content

Commit

Permalink
feat: support PostgreSQL END statement (#2131)
Browse files Browse the repository at this point in the history
* feat: support PostgreSQL END statement

Adds support for the PostgreSQL END statement in the Connection API.

Fixes #2130

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
olavloite and gcf-owl-bot[bot] committed Nov 4, 2022
1 parent d0195b4 commit 4c29c17
Show file tree
Hide file tree
Showing 4 changed files with 36,604 additions and 15,572 deletions.
Expand Up @@ -193,13 +193,16 @@
]
},
{
"name": "COMMIT [TRANSACTION | WORK] [AND NO CHAIN]",
"name": "{END | COMMIT} [TRANSACTION | WORK] [AND NO CHAIN]",
"executorName": "ClientSideStatementNoParamExecutor",
"resultType": "NO_RESULT",
"statementType": "COMMIT",
"regex": "(?is)\\A\\s*(?:commit)(?:\\s+transaction|\\s+work)?(?:\\s+and\\s+no\\s+chain)?\\s*\\z",
"regex": "(?is)\\A\\s*(?:commit|end)(?:\\s+transaction|\\s+work)?(?:\\s+and\\s+no\\s+chain)?\\s*\\z",
"method": "statementCommit",
"exampleStatements": ["commit", "commit transaction", "commit work", "commit and no chain", "commit transaction and no chain", "commit work and no chain"],
"exampleStatements": [
"commit", "commit transaction", "commit work", "commit and no chain", "commit transaction and no chain", "commit work and no chain",
"end", "end transaction", "end work", "end and no chain", "end transaction and no chain", "end work and no chain"
],
"examplePrerequisiteStatements": ["begin transaction"]
},
{
Expand Down

0 comments on commit 4c29c17

Please sign in to comment.