This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 25e8c71943 [test](fix) fix postgresql test (#18900)
25e8c71943 is described below
commit 25e8c71943bb0f7635d97288d5e765f00a2932e2
Author: yongkang.zhong <[email protected]>
AuthorDate: Sun Apr 23 18:41:41 2023 +0800
[test](fix) fix postgresql test (#18900)
* [test](fix) fix postgresql test
* fix
---
.../postgresql/init/03-create-extension.sql | 18 ++++++++++++++++++
.../postgresql/init/{03-insert.sql => 04-insert.sql} | 0
.../docker-compose/postgresql/postgresql-14.yaml.tpl | 2 +-
3 files changed, 19 insertions(+), 1 deletion(-)
diff --git
a/docker/thirdparties/docker-compose/postgresql/init/03-create-extension.sql
b/docker/thirdparties/docker-compose/postgresql/init/03-create-extension.sql
new file mode 100644
index 0000000000..5237c544f8
--- /dev/null
+++ b/docker/thirdparties/docker-compose/postgresql/init/03-create-extension.sql
@@ -0,0 +1,18 @@
+-- Licensed to the Apache Software Foundation (ASF) under one
+-- or more contributor license agreements. See the NOTICE file
+-- distributed with this work for additional information
+-- regarding copyright ownership. The ASF licenses this file
+-- to you under the Apache License, Version 2.0 (the
+-- "License"); you may not use this file except in compliance
+-- with the License. You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing,
+-- software distributed under the License is distributed on an
+-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+-- KIND, either express or implied. See the License for the
+-- specific language governing permissions and limitations
+-- under the License.
+
+CREATE EXTENSION IF NOT EXISTS postgis;
diff --git a/docker/thirdparties/docker-compose/postgresql/init/03-insert.sql
b/docker/thirdparties/docker-compose/postgresql/init/04-insert.sql
similarity index 100%
rename from docker/thirdparties/docker-compose/postgresql/init/03-insert.sql
rename to docker/thirdparties/docker-compose/postgresql/init/04-insert.sql
diff --git
a/docker/thirdparties/docker-compose/postgresql/postgresql-14.yaml.tpl
b/docker/thirdparties/docker-compose/postgresql/postgresql-14.yaml.tpl
index bfa16e2d52..ae63c2b9bd 100644
--- a/docker/thirdparties/docker-compose/postgresql/postgresql-14.yaml.tpl
+++ b/docker/thirdparties/docker-compose/postgresql/postgresql-14.yaml.tpl
@@ -19,7 +19,7 @@ version: "2.1"
services:
doris--postgres:
- image: postgres:14.1
+ image: postgis/postgis:14-3.3
restart: always
environment:
POSTGRES_PASSWORD: 123456
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]