Spanner (PostgreSQL dialect)
Details of the Spanner (PostgreSQL dialect) prebuilt configuration.
less than a minute
Spanner (PostgreSQL dialect)
--prebuiltvalue:spanner-postgres- Environment Variables:
SPANNER_PROJECT: The GCP project ID.SPANNER_INSTANCE: The Spanner instance ID.SPANNER_DATABASE: The Spanner database ID.
- Permissions:
- Cloud Spanner Database Reader (
roles/spanner.databaseReader) to execute DQL queries and list tables. - Cloud Spanner Database User (
roles/spanner.databaseUser) to execute DML queries.
- Cloud Spanner Database Reader (
- Tools:
execute_sql: Executes a DML SQL query using the PostgreSQL interface for Spanner.execute_sql_dql: Executes a DQL SQL query using the PostgreSQL interface for Spanner.list_tables: Lists tables in the database.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.