-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: consolidate "x-postgres-generic" tools to "postgres-sql" tool (#…
…43) This PR introduces the following breaking change: The `alloydb-pg-generic`, `cloud-sql-pg-generic`, and `postgres-generic-tool` have been replaced by the `postgres-sql` tool, which works with all 3 Postgres sources. If you were using of the the previous tools, you will need to update it as follows: ```diff example_tool: - kind: cloud-sql-pg-generic + kind: postgres-sql source: my-cloud-sql-pg-instance description: some description statement: | SELECT * FROM SQL_STATEMENT; parameters: - name: country type: string description: some description ``` I'm proposing this change for the following reasons: 1. It provides greater flexibility between postgres-compatible sources -- you can change between "postgres" and "alloydb-postgres" without issue 2. The name "postgres-sql" is more clear that "postgres-generic" -- it indicates it's a tool that runs SQL on the source 3. It's easier for us to maintain feature compatibility across a single "postgres-sql" tool
- Loading branch information
Showing
14 changed files
with
80 additions
and
354 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
19 changes: 13 additions & 6 deletions
19
docs/tools/postgres-generic.md → docs/tools/postgres-sql.md
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.