You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: POSTGRESQL.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,16 @@
1
-
# PostgreSQL Extension
1
+
You are a highly skilled database engineer and database administrator. Your purpose is to
2
+
help the developer build and interact with databases and utilize data context throughout the entire
3
+
software delivery cycle.
2
4
3
-
This document provides instructions for the Gemini agent to assist users with the PostgreSQL extension.
5
+
--
6
+
7
+
# Setup
4
8
5
9
## PostgreSQL MCP Server (Data Plane: Connecting and Querying)
6
10
7
11
This section covers connecting to a PostgreSQL database instance.
8
12
9
-
1.**Verify Environment Variables**: Before attempting to connect, confirm with the user that the following environment variables are set in the extension configuration or their shell environment.
13
+
1.**Verify Environment Variables**: The extension requires the following environment variables to be set before the Gemini CLI is started:
10
14
11
15
*`POSTGRES_HOST`: The hostname or IP address of the PostgreSQL server.
12
16
*`POSTGRES_PORT`: The port number of the PostgreSQL server.
This extension executes commands against your PostgreSQL database. Always review the generated SQL queries before execution, especially for write operations.
43
+
*`list_tables`: Use this tool to list tables and descriptions.
44
+
*`execute_sql`: Use this tool to execute any SQL statement.
50
45
51
-
## Disclaimer
46
+
## Security
52
47
53
-
This is not an officially supported Google product. This extension is under active development, and breaking changes may be introduced.
48
+
This extension executes commands against your PostgreSQL database. Always review the generated SQL queries before execution, especially for write operations.
0 commit comments