mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-10-15 05:38:25 +00:00
13 lines
348 B
Python
13 lines
348 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
from pilot.connections.rdbms.rdbms_connect import RDBMSDatabase
|
|
|
|
|
|
class PostgresConnector(RDBMSDatabase):
|
|
"""PostgresConnector is a class which Connector"""
|
|
|
|
type: str = "POSTGRESQL"
|
|
driver: str = "postgresql"
|
|
|
|
default_db = ["information_schema", "performance_schema", "sys", "mysql"]
|