Skip to content

Commit fc0bb0c

Browse files
authored
Merge branch 'main' into renovate/major-github-actions
2 parents 6415416 + 4ab7fbc commit fc0bb0c

File tree

7 files changed

+70
-20
lines changed

7 files changed

+70
-20
lines changed

.env

Lines changed: 0 additions & 6 deletions
This file was deleted.

.licenserc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ header:
1616
license:
1717
spdx-id: "Apache-2.0"
1818
copyright-owner: "Google LLC"
19+
copyright-year: "2025"
1920
paths:
2021
- "**/*.yaml"
2122
- "**/*.yml"

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.7"
2+
".": "0.1.8"
33
}

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## [0.1.8](https://github.com/gemini-cli-extensions/cloud-sql-postgresql/compare/0.1.7...0.1.8) (2026-01-14)
4+
5+
6+
### Features
7+
8+
* **deps:** update dependency googleapis/genai-toolbox to v0.25.0 ([#80](https://github.com/gemini-cli-extensions/cloud-sql-postgresql/issues/80)) ([ac9886c](https://github.com/gemini-cli-extensions/cloud-sql-postgresql/commit/ac9886c7ac60b9e6ceeb3bf7b6af261e9f52c8e0))
9+
310
## [0.1.7](https://github.com/gemini-cli-extensions/cloud-sql-postgresql/compare/0.1.6...0.1.7) (2025-12-08)
411

512

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Before you begin, ensure you have the following:
3232
* IAM Permissions:
3333
* Cloud SQL Client (`roles/cloudsql.client`)
3434
* Cloud SQL Admin (`roles/cloudsql.admin`)
35+
> [!NOTE]
36+
> If you do not configure a specific `CLOUD_SQL_POSTGRES_USER` or `CLOUD_SQL_POSTGRES_PASSWORD`, this extension defaults to using the active local IAM user credentials. You must also add the IAM user to your Cloud SQL instance, see [Creating a database user](https://cloud.google.com/sql/docs/postgres/add-manage-iam-users#creating-a-database-user).
3537
3638
## Getting Started
3739

@@ -93,25 +95,39 @@ Interact with Cloud SQL for PostgreSQL using natural language:
9395
## Supported Tools
9496

9597
* **Admin:**
98+
* `clone_instance`: Creates a clone for an existing Cloud SQL for PostgreSQL instance.
99+
* `create_backup`: Creates a backup on a Cloud SQL instance.
96100
* `create_instance`: Use this tool to create an Postgres instance.
97101
* `create_user`: Use this tool to create Postgres-BUILT-IN or IAM-based users.
98102
* `create_database`: Creates a new database in a Cloud SQL instance.
99103
* `get_instance`: Use this tool to get details about an Postgres instance.
100104
* `list_instances`: Use this tool to list instances in a given project and location.
101105
* `list_databases`: Lists all databases for a Cloud SQL instance.
106+
* `restore_backup`: Restores a backup of a Cloud SQL instance.
102107
* `wait_for_operation`: Use this tool to poll the operations API until the operation is done.
103108

104109
* **Data:**
105110
* `list_tables`: Use this tool to lists tables in the database.
111+
* `database_overview`: Use this tool to fetches the current state of the PostgreSQL server.
106112
* `execute_sql`: Use this tool to executes a SQL query.
107113
* `list_active_queries`: Use this tool to list currently running queries.
108114
* `list_available_extensions`: Use this tool to list available extensions for installation.
109115
* `list_installed_extensions`: Use this tool to list installed extensions.
110116
* `get_query_plan`: Use this tool to get query plan.
111117
* `list_autovacuum_configurations`: Use this tool to list autovacuum configurations and its value.
112-
* `list_memory_configuration`s: Use this tool to list memory configurations and its value.
113-
* `list_top_bloated_tables`: Use this tool to list top bloated tables.
118+
* `list_database_stats`: Use this tool to lists the key performance and activity statistics for each database in the postgreSQL instance.
119+
* `list_indexes`: Use this tool to list available user indexes in a PostgreSQL database.
120+
* `list_memory_configurations`: Use this tool to list memory configurations and its value.
121+
* `list_pg_settings`: Use this tool to list configuration parameters for the PostgreSQL server.
122+
* `list_publication_tables`: Use this tool to list publication tables in a PostgreSQL database.
114123
* `list_replication_slots`: Use this tool to list replication slots.
124+
* `list_roles`: Use this tool to lists all the user-created roles in PostgreSQL database.
125+
* `list_schemas`: Use this tool to lists schemas in the database.
126+
* `list_sequences`: Use this tool to list sequences in a PostgreSQL database.
127+
* `list_tablespaces`: Use this tool to lists tablespaces in the database.
128+
* `list_top_bloated_tables`: Use this tool to list top bloated tables.
129+
* `list_triggers`: Use this tool to lists triggers in the database.
130+
* `list_views`: Use this tool to lists views in the database from pg_views with a default limit of 50 rows.
115131
* `list_invalid_indexes`: Use this tool to list invalid indexes.
116132

117133
## Additional Extensions

gemini-extension.json

Lines changed: 42 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cloud-sql-postgresql",
3-
"version": "0.1.7",
3+
"version": "0.1.8",
44
"description": "Create, connect, and interact with a Cloud SQL for PostgreSQL database and data.",
55
"mcpServers": {
66
"cloud_sql_postgresql_admin": {
@@ -17,14 +17,46 @@
1717
"--prebuilt",
1818
"cloud-sql-postgres",
1919
"--stdio"
20-
],
21-
"env": {
22-
"CLOUD_SQL_POSTGRESQL_PROJECT": "${CLOUD_SQL_POSTGRESQL_PROJECT}",
23-
"CLOUD_SQL_POSTGRESQL_REGION": "${CLOUD_SQL_POSTGRESQL_REGION}",
24-
"CLOUD_SQL_POSTGRESQL_INSTANCE": "${CLOUD_SQL_POSTGRESQL_INSTANCE}",
25-
"CLOUD_SQL_POSTGRESQL_DATABASE": "${CLOUD_SQL_POSTGRESQL_DATABASE}"
26-
}
20+
]
2721
}
2822
},
29-
"contextFileName": "CLOUD-SQL-POSTGRESQL.md"
30-
}
23+
"contextFileName": "CLOUD-SQL-POSTGRESQL.md",
24+
"settings": [
25+
{
26+
"name": "Project ID",
27+
"description": "ID of the Google Cloud project",
28+
"envVar": "CLOUD_SQL_POSTGRES_PROJECT"
29+
},
30+
{
31+
"name": "Location",
32+
"description": "Region of the Cloud SQL instance",
33+
"envVar": "CLOUD_SQL_POSTGRES_REGION"
34+
},
35+
{
36+
"name": "Instance",
37+
"description": "Name of the Cloud SQL instance",
38+
"envVar": "CLOUD_SQL_POSTGRES_INSTANCE"
39+
},
40+
{
41+
"name": "Database",
42+
"description": "Name of the database",
43+
"envVar": "CLOUD_SQL_POSTGRES_DATABASE"
44+
},
45+
{
46+
"name": "User",
47+
"description": "(Optional) Username of the database user (Default: IAM user)",
48+
"envVar": "CLOUD_SQL_POSTGRES_USER"
49+
},
50+
{
51+
"name": "Password",
52+
"description": "(Optional) Password of the database user (Default: IAM user)",
53+
"envVar": "CLOUD_SQL_POSTGRES_PASSWORD",
54+
"sensitive": true
55+
},
56+
{
57+
"name": "IP Type",
58+
"description": "(Optional) Type of the IP address: PUBLIC, PRIVATE, or PSC (Default: Public)",
59+
"envVar": "CLOUD_SQL_POSTGRES_IP_TYPE"
60+
}
61+
]
62+
}

toolbox_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.22.0
1+
0.26.0

0 commit comments

Comments
 (0)