Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions POSTGRESQL.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ This section covers connecting to a PostgreSQL database instance.
2. **Handle Missing Variables**: If a command fails with an error message containing a placeholder like `${POSTGRES_HOST}`, it signifies a missing environment variable. Inform the user which variable is missing and instruct them to set it.

3. **Handle Permission Errors**: If an operation fails due to permission, it is
likely that the user do not have the correct privileges on the PostgreSQL
likely that the user does not have the correct privileges on the PostgreSQL
database. Database-level permissions (e.g., `SELECT`, `INSERT`) are required
to execute queries.

Expand Down Expand Up @@ -53,7 +53,7 @@ Users may have set project environment variables:
* `POSTGRES_USER`: The username for authentication.
* `POSTGRES_PASSWORD`: The password for authentication.

Instead of prompting the user for these values for specific tool calls, prompt the user to verify reuse a specific value.
Instead of prompting the user for these values for specific tool calls, prompt the user to verify and reuse a specific value.
Make sure to not use the environment variable name like `POSTGRES_HOST`, `${POSTGRES_HOST}`, or `$POSTGRES_HOST`. The value can be found by using command: `echo $POSTGRES_HOST`.

## Use Full Table Name Format "DATABASE_NAME.SCHEMA_NAME.TABLE_NAME"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Before you begin, ensure you have the following:
* [Gemini CLI](https://github.com/google-gemini/gemini-cli) installed with version **+v0.6.0**.
* Setup Gemini CLI [Authentication](https://github.com/google-gemini/gemini-cli/tree/main?tab=readme-ov-file#-authentication-options).
* A running PostgreSQL instance.
* User are granted database-level permissions to execute queries.
* Users are granted database-level permissions to execute queries.

## Getting Started

Expand Down Expand Up @@ -78,8 +78,8 @@ Interact with Postgres using natural language right from your IDE:

## Supported Tools

* `list_tables`: Use this tool to lists tables in the database.
* `execute_sql`: Use this tool to executes a SQL query.
* `list_tables`: Use this tool to list tables in the database.
* `execute_sql`: Use this tool to execute a SQL query.
* `list_active_queries`: Use this tool to list currently running queries.
* `list_available_extensions`: Use this tool to list available extensions for installation.
* `list_installed_extensions`: Use this tool to list installed extensions.
Expand Down
Loading