Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postgresql_wy connection #452

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

wensir-cloud
Copy link

add postgresql

@@ -25,7 +25,7 @@ storageEngineList=127.0.0.1#6667#iotdb11#username=root#password=root#sessionPool
replicaNum=0

# 底层数据库类名
databaseClassNames=iotdb11=cn.edu.tsinghua.iginx.iotdb.IoTDBStorage,iotdb12=cn.edu.tsinghua.iginx.iotdb.IoTDBStorage,influxdb=cn.edu.tsinghua.iginx.influxdb.InfluxDBStorage,parquet=cn.edu.tsinghua.iginx.parquet.ParquetStorage
databaseClassNames=iotdb11=cn.edu.tsinghua.iginx.iotdb.IoTDBStorage,iotdb12=cn.edu.tsinghua.iginx.iotdb.IoTDBStorage,influxdb=cn.edu.tsinghua.iginx.influxdb.InfluxDBStorage,parquet=cn.edu.tsinghua.iginx.parquet.ParquetStorage,postgresql=cn.edu.tsinghua.iginx.postgresql_wy.PostgreSQLStorage
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

调整一下,把之前的PG功能覆盖,并使用原PG的配置参数,替换原实现

pom.xml Outdated
@@ -23,7 +23,7 @@
<module>dataSources/influxdb</module>
<module>dataSources/opentsdb</module>
<!--module>dataSources/timescaledb</module-->
<module>dataSources/postgresql</module>
<module>dataSources/postgresql_wy</module>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

相应调整一下

@@ -0,0 +1,697 @@
/*
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

模仿InfluxDB,增加测试用例,单元及集成测试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants